diff --git a/src/components/common/settings/AIChatConfigTab.vue b/src/components/common/settings/AIChatConfigTab.vue deleted file mode 100644 index 184d47f..0000000 --- a/src/components/common/settings/AIChatConfigTab.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/components/common/settings/AIConfigEditModal.vue b/src/components/common/settings/AIConfigEditModal.vue index 869d592..aebc23d 100644 --- a/src/components/common/settings/AIConfigEditModal.vue +++ b/src/components/common/settings/AIConfigEditModal.vue @@ -412,7 +412,7 @@ watch( > 本地服务

-

Ollama、Parallax 等

+

Ollama 等

diff --git a/src/components/common/settings/AIConfigTab.vue b/src/components/common/settings/AIConfigTab.vue index 1aba28e..97feb63 100644 --- a/src/components/common/settings/AIConfigTab.vue +++ b/src/components/common/settings/AIConfigTab.vue @@ -135,12 +135,9 @@ onMounted(() => {
- + diff --git a/src/components/common/settings/AIPromptConfigTab.vue b/src/components/common/settings/AIPromptConfigTab.vue index da55e3f..a750cae 100644 --- a/src/components/common/settings/AIPromptConfigTab.vue +++ b/src/components/common/settings/AIPromptConfigTab.vue @@ -95,10 +95,10 @@ function isActivePreset(presetId: string, chatType: 'group' | 'private'): boolea

发送条数限制

- 每次发送给 AI 的最大消息条数,用于控制上下文长度(100-5000) + 每次发送给 AI 的最大消息条数,用于控制上下文长度(建议在500以上)

- +
@@ -125,7 +125,7 @@ function isActivePreset(presetId: string, chatType: 'group' | 'private'): boolea class="group flex cursor-pointer items-center justify-between rounded-lg border p-3 transition-colors" :class="[ isActivePreset(preset.id, 'group') - ? 'border-violet-300 bg-violet-50 dark:border-violet-700 dark:bg-violet-900/20' + ? 'border-primary-300 bg-primary-50 dark:border-primary-700 dark:bg-primary-900/20' : 'border-gray-200 bg-white hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-900 dark:hover:bg-gray-800', ]" @click="setActivePreset(preset.id, 'group')" @@ -136,7 +136,7 @@ function isActivePreset(presetId: string, chatType: 'group' | 'private'): boolea class="flex h-7 w-7 shrink-0 items-center justify-center rounded-full" :class="[ isActivePreset(preset.id, 'group') - ? 'bg-violet-500 text-white' + ? 'bg-primary-500 text-white' : 'bg-gray-200 text-gray-500 dark:bg-gray-700 dark:text-gray-400', ]" > @@ -187,7 +187,7 @@ function isActivePreset(presetId: string, chatType: 'group' | 'private'): boolea class="group flex cursor-pointer items-center justify-between rounded-lg border p-3 transition-colors" :class="[ isActivePreset(preset.id, 'private') - ? 'border-blue-300 bg-blue-50 dark:border-blue-700 dark:bg-blue-900/20' + ? 'border-primary-300 bg-primary-50 dark:border-primary-700 dark:bg-primary-900/20' : 'border-gray-200 bg-white hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-900 dark:hover:bg-gray-800', ]" @click="setActivePreset(preset.id, 'private')" @@ -198,7 +198,7 @@ function isActivePreset(presetId: string, chatType: 'group' | 'private'): boolea class="flex h-7 w-7 shrink-0 items-center justify-center rounded-full" :class="[ isActivePreset(preset.id, 'private') - ? 'bg-blue-500 text-white' + ? 'bg-primary-500 text-white' : 'bg-gray-200 text-gray-500 dark:bg-gray-700 dark:text-gray-400', ]" > diff --git a/src/components/common/settings/index.ts b/src/components/common/settings/index.ts index 58f1d0e..8e7c0be 100644 --- a/src/components/common/settings/index.ts +++ b/src/components/common/settings/index.ts @@ -1,5 +1,4 @@ export { default as AIConfigTab } from './AIConfigTab.vue' -export { default as AIChatConfigTab } from './AIChatConfigTab.vue' export { default as AIConfigEditModal } from './AIConfigEditModal.vue' export { default as AIPromptConfigTab } from './AIPromptConfigTab.vue' export { default as AIPromptEditModal } from './AIPromptEditModal.vue'