There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat(core): upgrade pplx models (#10115)
akumatus573af16aa486
diff --git a/packages/backend/server/src/plugins/copilot/prompt/prompts.ts b/packages/backend/server/src/plugins/copilot/prompt/prompts.tsindex 82886bbc1d..1679519792 100644--- a/packages/backend/server/src/plugins/copilot/prompt/prompts.ts+++ b/packages/backend/server/src/plugins/copilot/prompt/prompts.ts@@ -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 plandiff --git a/packages/backend/server/src/plugins/copilot/providers/perplexity.ts b/packages/backend/server/src/plugins/copilot/providers/perplexity.tsindex 953c68729c..e960f92fcd 100644--- a/packages/backend/server/src/plugins/copilot/providers/perplexity.ts+++ b/packages/backend/server/src/plugins/copilot/providers/perplexity.ts@@ -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 {