- 71 registry files: flat `media.*Config.models` → `models[]` with `kind` field - `media` wrapper removed → serviceKinds, *Config fields promoted top-level - `type` field renamed to `kind` (llm/image/tts/stt/embedding/embedding/video/music) - providers/index.js: PROVIDER_MEDIA now built from flat top-level media fields - shared/constants/providers.js: buildProviderEntry reads flat top-level media fields - route /v1/models: modelKind() uses kind||type; removed subConfig merge block - models/info route: removed sub-config fallback lookup (all models in PROVIDER_MODELS) - ttsProviders/index.js: synthesizeViaConfig reads tts models from PROVIDER_MODELS - test-models route, helpers.js, validate route: kind||type compat - Baselines: PROVIDERS 62/62 ✅, Alias 90/90 ✅ Co-authored-by: Cursor <cursoragent@cursor.com>
32 lines
1,016 B
JavaScript
32 lines
1,016 B
JavaScript
export default {
|
|
id: "perplexity-web",
|
|
alias: "perplexity-web",
|
|
aliases: [
|
|
"pw",
|
|
],
|
|
uiAlias: "pw",
|
|
display: {
|
|
name: "Perplexity Web (Pro/Max)",
|
|
icon: "search",
|
|
color: "#20808D",
|
|
textIcon: "PW",
|
|
website: "https://www.perplexity.ai",
|
|
},
|
|
category: "webCookie",
|
|
authType: "cookie",
|
|
authHint: "Paste your __Secure-next-auth.session-token cookie value from perplexity.ai",
|
|
transport: {
|
|
baseUrl: "https://www.perplexity.ai/rest/sse/perplexity_ask",
|
|
format: "perplexity-web",
|
|
authType: "cookie",
|
|
},
|
|
models: [
|
|
{ id: "pplx-auto", name: "Perplexity Auto (Free)" },
|
|
{ id: "pplx-sonar", name: "Perplexity Sonar" },
|
|
{ id: "pplx-gpt", name: "GPT-5.4 (via Perplexity)" },
|
|
{ id: "pplx-gemini", name: "Gemini 3.1 Pro (via Perplexity)" },
|
|
{ id: "pplx-sonnet", name: "Claude Sonnet 4.6 (via Perplexity)" },
|
|
{ id: "pplx-opus", name: "Claude Opus 4.6 (via Perplexity)" },
|
|
{ id: "pplx-nemotron", name: "Nemotron 3 Super (via Perplexity)" },
|
|
],
|
|
};
|