Skip to content

Conversation

@d-oit
Copy link
Contributor

@d-oit d-oit commented Oct 17, 2025

Updated Perplexity provider configuration at
/providers/perplexity/provider.toml:

This change aligns the provider metadata with the current SDK standards.

tested with opencode.json config:

"perplexity": { "npm": "@ai-sdk/perplexity", "name": "Perplexity AI", "options": { "baseURL": "https://api.perplexity.ai" }, "models": { "sonar-deep-research": { "name": "Perplexity Sonar Deep Research", "release_date": "2025-02-01", "attachment": false, "reasoning": true, "temperature": false, "tool_call": false, "cost": { "input": 0.002, "output": 0.008 }, "limit": { "context": 127072, "output": 32768 } } } }

Updated Perplexity provider configuration at
/providers/perplexity/provider.toml:

- npm: "@perplexity-ai/perplexity_ai" → "@ai-sdk/perplexity"
- doc: "https://docs.perplexity.ai" → "https://ai-sdk.dev/providers/ai-sdk-providers/perplexity"
- name: "Perplexity"
- env: ["PERPLEXITY_API_KEY"] (unchanged)

This change aligns the provider metadata with the current SDK standards.

tested with opencode.json config:

"perplexity": { "npm": "@ai-sdk/perplexity", "name": "Perplexity AI", "options": { "baseURL": "https://api.perplexity.ai" }, "models": { "sonar-deep-research": { "name": "Perplexity Sonar Deep Research", "release_date": "2025-02-01", "attachment": false, "reasoning": true, "temperature": false, "tool_call": false, "cost": { "input": 0.002, "output": 0.008 }, "limit": { "context": 127072, "output": 32768 } } } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant