feat(coding-agent/web): upgraded Perplexity search model to sonar-pro with high context size
- Upgraded Perplexity search model from 'sonar' to 'sonar-pro' for improved search quality. - Added 'high' search context size configuration to Perplexity API requests for enhanced context awareness.
This commit is contained in:
@@ -167,9 +167,10 @@ export async function searchPerplexity(params: PerplexitySearchParams): Promise<
|
||||
messages.push({ role: "user", content: params.query });
|
||||
|
||||
const request: PerplexityRequest = {
|
||||
model: "sonar",
|
||||
model: "sonar-pro",
|
||||
messages,
|
||||
return_related_questions: true,
|
||||
search_context_size: "high",
|
||||
};
|
||||
|
||||
if (params.search_recency_filter) {
|
||||
|
||||
Reference in New Issue
Block a user