mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
feat(core): upgrade pplx models (#10115)
Old models will be deprecated and will no longer be available to use after 2/22/2025. https://docs.perplexity.ai/guides/model-cards
This commit is contained in:
@@ -979,7 +979,7 @@ When referencing information from the provided documents in your response:
|
||||
},
|
||||
{
|
||||
name: 'Search With AFFiNE AI',
|
||||
model: 'llama-3.1-sonar-small-128k-online',
|
||||
model: 'sonar',
|
||||
messages: [],
|
||||
},
|
||||
// use for believer plan
|
||||
|
||||
@@ -167,9 +167,10 @@ export class PerplexityProvider implements CopilotTextToTextProvider {
|
||||
}
|
||||
|
||||
readonly availableModels = [
|
||||
'llama-3.1-sonar-small-128k-online',
|
||||
'llama-3.1-sonar-large-128k-online',
|
||||
'llama-3.1-sonar-huge-128k-online',
|
||||
'sonar',
|
||||
'sonar-pro',
|
||||
'sonar-reasoning',
|
||||
'sonar-reasoning-pro',
|
||||
];
|
||||
|
||||
get type(): CopilotProviderType {
|
||||
|
||||
Reference in New Issue
Block a user