mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-04 02:49:57 +08:00
feat(core): add ai playground feature flag and remove model switch feature flag (#12934)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for the "AI Playground" experimental feature, including new settings and localization entries. * **Refactor** * Renamed configuration and service references from "Model Switch" to "Playground" across the AI chat and playground interfaces. * Updated feature flag from "enable_ai_model_switch" to "enable_ai_playground" for consistency. * **Bug Fixes** * The "Model" submenu in AI chat preferences is now always visible, simplifying menu options. * **Chores** * Removed outdated Claude model options from the chat prompt. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -5692,6 +5692,14 @@ export function useAFFiNEI18N(): {
|
||||
* `Enable or disable AI model switch feature.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-ai-model-switch.description"](): string;
|
||||
/**
|
||||
* `Enable AI Playground`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-ai-playground.name"](): string;
|
||||
/**
|
||||
* `Enable or disable AI playground feature.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-ai-playground.description"](): string;
|
||||
/**
|
||||
* `Database Full Width`
|
||||
*/
|
||||
|
||||
@@ -1423,6 +1423,8 @@
|
||||
"com.affine.settings.workspace.experimental-features.enable-ai-network-search.description": "Enable or disable AI Network Search feature.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-ai-model-switch.name": "Enable AI Model Switch",
|
||||
"com.affine.settings.workspace.experimental-features.enable-ai-model-switch.description": "Enable or disable AI model switch feature.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-ai-playground.name": "Enable AI Playground",
|
||||
"com.affine.settings.workspace.experimental-features.enable-ai-playground.description": "Enable or disable AI playground feature.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-database-full-width.name": "Database Full Width",
|
||||
"com.affine.settings.workspace.experimental-features.enable-database-full-width.description": "The database will be displayed in full-width mode.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-database-attachment-note.name": "Database Attachment Note",
|
||||
|
||||
Reference in New Issue
Block a user