mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 10:52:40 +08: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',
|
name: 'Search With AFFiNE AI',
|
||||||
model: 'llama-3.1-sonar-small-128k-online',
|
model: 'sonar',
|
||||||
messages: [],
|
messages: [],
|
||||||
},
|
},
|
||||||
// use for believer plan
|
// use for believer plan
|
||||||
|
|||||||
@@ -167,9 +167,10 @@ export class PerplexityProvider implements CopilotTextToTextProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
readonly availableModels = [
|
readonly availableModels = [
|
||||||
'llama-3.1-sonar-small-128k-online',
|
'sonar',
|
||||||
'llama-3.1-sonar-large-128k-online',
|
'sonar-pro',
|
||||||
'llama-3.1-sonar-huge-128k-online',
|
'sonar-reasoning',
|
||||||
|
'sonar-reasoning-pro',
|
||||||
];
|
];
|
||||||
|
|
||||||
get type(): CopilotProviderType {
|
get type(): CopilotProviderType {
|
||||||
|
|||||||
Reference in New Issue
Block a user