mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-12 14:40:22 +08:00
feat(core): move enable ai to feature flag (#8195)
This commit is contained in:
@@ -5,6 +5,14 @@ const isDesktopEnvironment = environment.isElectron;
|
||||
const isCanaryBuild = runtimeConfig.appBuildType === 'canary';
|
||||
|
||||
export const AFFINE_FLAGS = {
|
||||
enable_ai: {
|
||||
category: 'affine',
|
||||
displayName: 'Enable AI',
|
||||
description: 'Enable or disable ALL AI features.',
|
||||
hide: true,
|
||||
configurable: true,
|
||||
defaultState: true,
|
||||
},
|
||||
enable_database_attachment_note: {
|
||||
category: 'blocksuite',
|
||||
bsFlag: 'enable_database_attachment_note',
|
||||
|
||||
Reference in New Issue
Block a user