mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
chore(server): update config naming (#13419)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Updated scenario names and options for Copilot, including new and renamed scenarios such as "audio_transcribing," "complex_text_generation," "quick_decision_making," "quick_text_generation," and "polish_and_summarize." * Enhanced support for customizing and overriding default model assignments in Copilot scenarios. * **Bug Fixes** * Improved consistency and clarity in scenario configuration and prompt selection. * **Documentation** * Updated descriptions in configuration interfaces to better explain the ability to use custom models and override defaults. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -46,20 +46,20 @@ defineModuleConfig('copilot', {
|
||||
default: false,
|
||||
},
|
||||
scenarios: {
|
||||
desc: 'The models used in the scene for the copilot, will use this config if enabled.',
|
||||
desc: 'Use custom models in scenarios and override default settings.',
|
||||
default: {
|
||||
enabled: false,
|
||||
override_enabled: false,
|
||||
scenarios: {
|
||||
audio: 'gemini-2.5-flash',
|
||||
audio_transcribing: 'gemini-2.5-flash',
|
||||
chat: 'claude-sonnet-4@20250514',
|
||||
embedding: 'gemini-embedding-001',
|
||||
image: 'gpt-image-1',
|
||||
rerank: 'gpt-4.1',
|
||||
brainstorm: 'gpt-4o-2024-08-06',
|
||||
coding: 'claude-sonnet-4@20250514',
|
||||
quick_decision: 'gpt-4.1-mini',
|
||||
quick_written: 'gemini-2.5-flash',
|
||||
summary_inspection: 'gemini-2.5-flash',
|
||||
complex_text_generation: 'gpt-4o-2024-08-06',
|
||||
quick_decision_making: 'gpt-4.1-mini',
|
||||
quick_text_generation: 'gemini-2.5-flash',
|
||||
polish_and_summarize: 'gemini-2.5-flash',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user