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:
@@ -1120,6 +1120,10 @@ export default {
|
||||
current: 'Current',
|
||||
goToSettings: 'Settings',
|
||||
sharedLabel: 'Shared',
|
||||
notReadyHint: 'Not ready. Configure: {items}',
|
||||
notReadyStatus: 'Setup needed',
|
||||
notReadyMissing: 'Missing: {items}',
|
||||
configureAction: 'Configure',
|
||||
},
|
||||
// Built-in agent information
|
||||
builtinInfo: {
|
||||
@@ -2118,13 +2122,13 @@ export default {
|
||||
agentModeDesc: 'Multi-step thinking, deep analysis',
|
||||
agentNotReadyTooltip: 'Agent is not ready. Please finish configuration first.',
|
||||
agentMissingAllowedTools: 'Allowed tools',
|
||||
agentMissingSummaryModel: 'Chat Model (Summary Model)',
|
||||
agentMissingRerankModel: 'Rerank Model',
|
||||
agentMissingSummaryModel: 'Chat model',
|
||||
agentMissingRerankModel: 'Rerank model',
|
||||
goToSettings: 'Go to settings →',
|
||||
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: 'Chat model',
|
||||
customAgentMissingRerankModel: 'Rerank model',
|
||||
goToAgentEditor: 'Go to configure →',
|
||||
agentNotReadyDetail: 'Agent "{agentName}" is not ready. Please configure: {reasons}',
|
||||
builtinAgentNotReadyDetail: 'Built-in agent "{agentName}" is not ready. Please configure: {reasons}',
|
||||
@@ -3972,7 +3976,7 @@ export default {
|
||||
notReady: 'Not Ready',
|
||||
hint: 'Once configuration is complete, the status will change to "Ready". You can then enable Agent mode in the chat.',
|
||||
missingThinkingModel: 'Thinking model',
|
||||
missingSummaryModel: 'Chat Model (Summary Model)',
|
||||
missingSummaryModel: 'Chat model',
|
||||
missingRerankModel: 'Rerank model',
|
||||
missingAllowedTools: 'Allowed tools',
|
||||
pleaseConfigure: 'Please configure {items}',
|
||||
|
||||
Reference in New Issue
Block a user