fix(agent): show disabled and unavailable MCP services in editor selector

Preserve selected MCP IDs in the agent editor when services are disabled or
missing, display them as disabled options with clear labels, and tighten
setting-row layout so long multi-select tags do not overflow.
This commit is contained in:
wizardchen
2026-07-16 19:24:37 +08:00
committed by lyingbug
parent 88a0201afe
commit 48969b49f7
5 changed files with 72 additions and 14 deletions
+1
View File
@@ -5961,6 +5961,7 @@ export default {
authWaitTimeout: "授权等待超时(秒)",
authWaitTimeoutDesc: "对话中触发 OAuth 授权时,等待你完成授权的最长秒数,超时后自动跳过授权提示(仅对使用 OAuth 的 MCP 服务生效)。",
authWaitTimeoutPlaceholder: "默认 600 秒",
unavailableService: "不可用服务",
},
llmCallTimeout: {
label: "LLM 调用超时",