diff --git a/platform/frontend/admin.html b/platform/frontend/admin.html
index 4c9a412..8a0430c 100644
--- a/platform/frontend/admin.html
+++ b/platform/frontend/admin.html
@@ -108,10 +108,10 @@
🤖 LLM 路由:
- {{ c.provider }} ({{ c.model }})
- ← 默认(趋势/采集/创作)
+ {{ defaultProvider }} ({{ defaultModel }})
+ ← 默认(趋势/采集/创作/优化)
|
- opencode-go (deepseek-v4-flash)
+ sensenova (deepseek-v4-flash)
← 合规审查固定
@@ -1100,7 +1100,16 @@ const llmConfigs = ref([]);
else { switchTab('users'); }
});
+ const defaultProvider = computed(() => {
+ const active = llmConfigs.value.filter(x => x.is_active);
+ return active.length ? active[0].provider : '-';
+ });
+ const defaultModel = computed(() => {
+ const active = llmConfigs.value.filter(x => x.is_active);
+ return active.length ? active[0].model : '-';
+ });
return {
+ defaultProvider, defaultModel,
activeTab, switchTab,
llmConfigs, llmConfigsLoading, llmConfigDialogVisible, llmConfigForm, llmConfigDialogTitle, showLLMConfigDialog, saveLLMConfig, deleteLLMConfig,
platformConfigs, platformConfigsLoading, platformConfigsRequested, pcShowActiveOnly, showPcDialog, pcForm, pcDialogTitle, showPcDialogFn, savePcForm, editingPcPlatform,