feat(agent): enforce model readiness and polish selector UX
Block chat when agents lack an explicit chat or rerank model, guide users through the selector and editor with field highlight, and align session QA checks with the same readiness rules on backend and frontend.
This commit is contained in:
@@ -2112,6 +2112,10 @@ export default {
|
||||
current: "当前",
|
||||
goToSettings: "设置",
|
||||
sharedLabel: "共享",
|
||||
notReadyHint: "尚未就绪,还需配置:{items}",
|
||||
notReadyStatus: "待配置",
|
||||
notReadyMissing: "缺少 {items}",
|
||||
configureAction: "去配置",
|
||||
},
|
||||
// 内置智能体信息
|
||||
builtinInfo: {
|
||||
@@ -3899,13 +3903,13 @@ export default {
|
||||
agentModeDesc: "多步思考,深度分析",
|
||||
agentNotReadyTooltip: "Agent 未就绪,请先在设置中完成配置",
|
||||
agentMissingAllowedTools: "允许的工具",
|
||||
agentMissingSummaryModel: "对话模型(Summary Model)",
|
||||
agentMissingRerankModel: "重排模型(Rerank Model)",
|
||||
agentMissingSummaryModel: "对话模型",
|
||||
agentMissingRerankModel: "重排模型",
|
||||
goToSettings: "前往设置 →",
|
||||
customAgentNotReadyTooltip: "智能体未就绪,请先完成配置",
|
||||
customAgentNotReadyDetail: "智能体未就绪,需要配置以下内容:{reasons}",
|
||||
customAgentMissingSummaryModel: "对话模型(Summary Model)",
|
||||
customAgentMissingRerankModel: "重排模型(Rerank Model)",
|
||||
customAgentMissingSummaryModel: "对话模型",
|
||||
customAgentMissingRerankModel: "重排模型",
|
||||
goToAgentEditor: "前往配置 →",
|
||||
agentNotReadyDetail: "智能体「{agentName}」未就绪,需要配置以下内容:{reasons}",
|
||||
builtinAgentNotReadyDetail: "内置智能体「{agentName}」未就绪,需要配置以下内容:{reasons}",
|
||||
@@ -3970,8 +3974,8 @@ export default {
|
||||
notReady: "未就绪",
|
||||
hint: '配置完成后,Agent 状态将自动变为"可用",此时可在对话界面开启 Agent 模式',
|
||||
missingThinkingModel: "思考模型",
|
||||
missingSummaryModel: "对话模型(Summary Model)",
|
||||
missingRerankModel: "Rerank 模型",
|
||||
missingSummaryModel: "对话模型",
|
||||
missingRerankModel: "重排模型",
|
||||
missingAllowedTools: "允许的工具",
|
||||
pleaseConfigure: "请配置{items}",
|
||||
goToConfig: "前往配置对话模型",
|
||||
|
||||
Reference in New Issue
Block a user