Update Perplexity Responses default model#1559
Conversation
|
There was a problem hiding this comment.
Devin Review found 1 new potential issue.
⚠️ 1 issue in files not directly in the diff
⚠️ README example for responses.LLM still shows old sonar-pro model after default changed to perplexity/sonar (plugins/perplexity/README.md:43)
The PR changes the default model for responses.LLM from 'sonar-pro' to 'perplexity/sonar' (in plugins/perplexity/src/responses/llm.ts:33) and introduces a dedicated PerplexityResponsesModels type for it, but the README's "Agent API usage" example at plugins/perplexity/README.md:43 still shows model: 'sonar-pro'. This is misleading — users copying the example will pass an outdated model name. While 'sonar-pro' still compiles (it satisfies the string union arm), it no longer matches the typed PerplexityResponsesModels literal and may not be a valid model for Perplexity's Responses/Agent API.
View 2 additional findings in Devin Review.
https://docs.perplexity.ai/docs/agent-api/models#available-models