- 🔗 Fallback 链(按优先级排列)
+ 🔗 Fallback 链(按优先级排列)
❓ 帮助
-
📖 Fallback 链使用说明
-
Fallback 链是高可用性机制,主模型故障时自动切换到备用模型。
+
📖 Fallback 链使用说明
+
Fallback 链是高可用性机制,主模型故障时自动切换到备用模型。
✔ 勾选「设为活跃配置」启用 | 📊 调整「优先级」数值(越大越优先)| 🔀 拖拽列表项快速调整
-
{{ getAppTypeLabel(chain.appType) }}
+
{{ getAppTypeLabel(chain.appType) }}
- #{{ idx + 1 }}
- ↓
- ·
+ #{{ idx + 1 }}
+ ↓
+ ·
{{ item.name }}
- {{ item.model_name }}
- P={{ item.priority }}
+ {{ item.model_name }}
+ P={{ item.priority }}
+ :style="{ color: healthMap[item.id].status === 'ONLINE' ? 'var(--color-success-text)' : 'var(--color-error-text)' }">
{{ healthMap[item.id].status === 'ONLINE' ? '🟢' : healthMap[item.id].status === 'UNKNOWN' ? '🟡' : '🔴' }}
{{ healthMap[item.id].latencyMs }}ms
- 🟡
+ 🟡
+ background: testResult.success ? 'var(--color-success-text)' : 'var(--color-error-text)' }">
{{ testResult.success ? '✅ 连接成功' : '❌ 连接失败' }}
延迟:{{ testResult.latencyMs }}ms · 维度:{{ testResult.dimensions }}
{{ testResult.errorMessage }}
@@ -124,7 +124,7 @@
:footer="false"
:close-on-overlay-click="false"
>
-
💡 核心三要素:API Key + API 地址 + 模型名称,填入即可使用
+
💡 核心三要素:API Key + API 地址 + 模型名称,填入即可使用
@@ -142,7 +142,7 @@
{{ showApiKey ? '🙈 隐藏' : '👁️ 显示' }}
- 💡 API Key 已脱敏,留空保留原值
+ 💡 API Key 已脱敏,留空保留原值
@@ -151,9 +151,9 @@
- 快捷选择:
+ 快捷选择:
- 💡 {{ providerTip }}
+ 💡 {{ providerTip }}
@@ -167,7 +167,7 @@
@keydown.enter.prevent="onDropdownKeyDown('enter')" @keydown.escape="modelDropdownOpen = false">
✕
+ @click="editModal.form.model_name = ''; modelDropdownOpen = false; updateNameSuggestion()" style="color:var(--color-text-tertiary);">✕
+ style="position:relative;top:100%;left:0;right:0;z-index:100;background:white;border:1px solid var(--color-border);border-radius:8px;max-height:240px;overflow-y:auto;margin-top:4px;box-shadow:0 4px 12px rgba(0,0,0,0.12);">
+ borderBottom: idx < filteredModels.length - 1 ? '1px solid var(--color-bg-code)' : 'none',
+ background: idx === modelDropdownHighlight ? 'var(--color-info-bg)' : 'white' }">
{{ m.id }}
-
{{ m.owned_by }}
+
{{ m.owned_by }}
- 💡 填入 API Key 和地址后点击「获取模型」自动填充
- ✅ 已获取 {{ fetchedModels.length }} 个模型
+ 💡 填入 API Key 和地址后点击「获取模型」自动填充
+ ✅ 已获取 {{ fetchedModels.length }} 个模型
@@ -228,7 +228,7 @@
- ⚠️ 修改维度后需重建向量表
+ ⚠️ 修改维度后需重建向量表
@@ -236,7 +236,7 @@
-
+
💡 建议:{{ nameSuggestion }}
@@ -276,10 +276,10 @@
-
+
导入预览
共 {{ importPreview.configs.length }} 条配置
-
+
· {{ c.name }} ({{ c.appType || c.app_type }}) - {{ c.modelName || c.model_name }}
@@ -287,7 +287,7 @@
+ :style="{ background: importResult.errors?.length ? 'var(--color-error-bg)' : 'var(--color-success-bg)' }">
导入完成
新增 {{ importResult.added }} · 覆盖 {{ importResult.overwritten }} · 跳过 {{ importResult.skipped }}
@@ -713,7 +713,7 @@ onUnmounted(() => { clearInterval(healthTimer); clearTimeout(testResultTimer); d
diff --git a/frontend/src/views/PipelineFlow.vue b/frontend/src/views/PipelineFlow.vue
index 345bc8b..795555c 100644
--- a/frontend/src/views/PipelineFlow.vue
+++ b/frontend/src/views/PipelineFlow.vue
@@ -10,13 +10,10 @@
-
用户请求 / 入口
-
决策分支
-
处理步骤
-
RAG 检索
-
Advisor 链
-
最终输出
-
LLM 调用
+
+
+ {{ item.label }}
+
@@ -36,18 +33,30 @@