fix(ai): restore default model configuration

This commit is contained in:
zipg authored and GitHub committed 2026-08-02 10:09:01 +08:00
1 parent 8379f0d048
commit 2dffbb9286
2 files changed
+15

No files matched your search

@@ -5540,6 +5540,12 @@ onUnmounted(cleanupPreviewEditor);
</div>
</div>
<!-- Default Model -->
<div v-if="!aiIsCliProvider" class="grid grid-cols-3 items-center gap-3">
<Label class="text-right text-xs">{{ t("ai.defaultModel") }}</Label>
<Input v-model="aiEditModel" autocomplete="off" class="col-span-2 h-8 text-xs" :placeholder="t('ai.manualModelPlaceholder')" />
</div>
<!-- Context Window -->
<div v-if="!aiIsCliProvider" class="grid grid-cols-3 items-start gap-3">
<Label class="text-right text-xs">{{ t("ai.contextWindow") }}</Label>