chore: bump version to 2.8.6 in package.json and add global AI assistant settings in locales and AccountSettingSystem.vue

This commit is contained in:
jxxghp
2025-11-23 13:50:35 +08:00
parent 229b7b0c12
commit 58c70b8ca6
5 changed files with 16 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ const SystemSettings = ref<any>({
OCR_HOST: null,
CUSTOMIZE_WALLPAPER_API_URL: null,
AI_AGENT_ENABLE: false,
AI_AGENT_GLOBAL: false,
LLM_PROVIDER: 'deepseek',
LLM_MODEL: 'deepseek-chat',
LLM_API_KEY: null,
@@ -707,6 +708,14 @@ onDeactivated(() => {
</template>
</VCombobox>
</VCol>
<VCol v-if="SystemSettings.Basic.AI_AGENT_ENABLE" cols="12" md="6">
<VSwitch
v-model="SystemSettings.Basic.AI_AGENT_GLOBAL"
:label="t('setting.system.aiAgentGlobal')"
:hint="t('setting.system.aiAgentGlobalHint')"
persistent-hint
/>
</VCol>
</VRow>
</VForm>
</VCardText>