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:
wizardchen
2026-06-25 21:02:14 +08:00
committed by lyingbug
parent 1e16834d27
commit 9ca4e1f23a
16 changed files with 1247 additions and 673 deletions
+9 -5
View File
@@ -1033,7 +1033,11 @@ export default {
addNew: 'Add New Agent',
current: 'Current',
goToSettings: 'Settings',
sharedLabel: 'Shared'
sharedLabel: 'Shared',
notReadyHint: 'Still needs: {items}',
notReadyStatus: 'Setup needed',
notReadyMissing: 'Missing: {items}',
configureAction: 'Configure',
},
builtinInfo: {
quickAnswer: {
@@ -4239,8 +4243,8 @@ export default {
agentNotReadyTooltip: 'Agent не готов. Пожалуйста, завершите настройку.',
agentNotReadyDetail: 'Agent не готов. Пожалуйста, настройте следующее: {reasons}',
agentMissingAllowedTools: 'Разрешённые инструменты',
agentMissingSummaryModel: 'Модель беседы (Summary Model)',
agentMissingRerankModel: 'Модель переранжирования (Rerank Model)',
agentMissingSummaryModel: 'Модель беседы',
agentMissingRerankModel: 'Модель переранжирования',
goToSettings: 'Перейти к настройкам →',
webSearch: {
toggleOn: 'Включить веб-поиск',
@@ -4277,8 +4281,8 @@ export default {
},
customAgentNotReadyTooltip: 'Agent is not ready. Please finish configuration first.',
customAgentNotReadyDetail: 'Agent is not ready. Please configure the following: {reasons}',
customAgentMissingSummaryModel: 'Chat Model (Summary Model)',
customAgentMissingRerankModel: 'Rerank Model',
customAgentMissingSummaryModel: 'Модель беседы',
customAgentMissingRerankModel: 'Модель переранжирования',
goToAgentEditor: 'Go to configure →',
builtinAgentNotReadyDetail: 'Built-in agent "{agentName}" is not ready. Please configure: {reasons}',
builtinAgentSettingName: 'Intelligent Reasoning',