diff --git a/src/app.js b/src/app.js index 21ba635..70bbd58 100644 --- a/src/app.js +++ b/src/app.js @@ -1282,7 +1282,7 @@ async function saveModelConfig() { toast("默认模型不能为空"); return; } - if (!confirm("保存 AI 模型接入配置后会重启线上 Hermes agent,当前正在生成的任务可能中断。继续吗?")) return; + if (!confirm("保存模型页的运行模型配置后会重启线上 Hermes agent,当前正在生成的任务可能中断。继续吗?")) return; const btn = document.getElementById("hermesModelSaveBtn"); const oldHTML = btn?.innerHTML; if (btn) { @@ -1312,7 +1312,7 @@ async function saveModelConfig() { setSharedConfigStatus("模型 Profile 共享保存失败: " + (error.message || error), true); }); setHermesModelStatus("模型配置已保存并重启 · 备份 " + (saved.backup || "已创建")); - toast("AI 模型接入配置已生效"); + toast("模型页配置已生效"); setTimeout(() => { pingBackend(); refreshDashboard(); @@ -1330,7 +1330,7 @@ async function saveModelConfig() { async function saveMcpConfig() { const mcpServersYaml = document.getElementById("mcpServersYaml")?.value || ""; - if (!confirm("保存 MCP 工具接入配置后会重启线上 Hermes agent,当前正在生成的任务可能中断。继续吗?")) return; + if (!confirm("保存工具集里的 MCP 配置后会重启线上 Hermes agent,当前正在生成的任务可能中断。继续吗?")) return; const btn = document.getElementById("hermesMcpSaveBtn"); const oldHTML = btn?.innerHTML; if (btn) { @@ -1357,7 +1357,7 @@ async function saveMcpConfig() { }; _hermesConfigLoaded = false; setHermesMcpStatus("MCP 配置已保存并重启 · 备份 " + (saved.backup || "已创建")); - toast("MCP 工具接入配置已生效"); + toast("工具集 MCP 配置已生效"); setTimeout(() => { pingBackend(); refreshDashboard(); diff --git a/src/index.html b/src/index.html index 89adff0..72eebac 100644 --- a/src/index.html +++ b/src/index.html @@ -11,7 +11,7 @@ 爱马仕 · AI - + @@ -1478,7 +1478,7 @@ git push # Gitea kangwan/hermes-glass-ui-personal
模型
-
AI 模型接入配置为准
+
以「模型」页配置为准
代理
@@ -1501,6 +1501,6 @@ git push # Gitea kangwan/hermes-glass-ui-personal
- +