diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts
index a4b6b5c3..009423f1 100644
--- a/frontend/src/i18n/locales/en-US.ts
+++ b/frontend/src/i18n/locales/en-US.ts
@@ -241,6 +241,7 @@ export default {
features: {
webSearch: 'Web Search Enabled',
knowledgeBase: 'Knowledge Base Linked',
+ mcp: 'MCP Services Enabled',
multiTurn: 'Multi-turn Conversation',
},
empty: {
diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts
index 4ef52ba0..ffe75039 100644
--- a/frontend/src/i18n/locales/zh-CN.ts
+++ b/frontend/src/i18n/locales/zh-CN.ts
@@ -771,6 +771,7 @@ export default {
features: {
webSearch: "支持网络搜索",
knowledgeBase: "关联知识库",
+ mcp: "支持MCP服务",
multiTurn: "多轮对话",
},
empty: {
diff --git a/frontend/src/views/agent/AgentList.vue b/frontend/src/views/agent/AgentList.vue
index f373d49c..13873937 100644
--- a/frontend/src/views/agent/AgentList.vue
+++ b/frontend/src/views/agent/AgentList.vue
@@ -95,17 +95,27 @@
-
+
-
+
-
+
+
+
+
+
+
-
+
@@ -658,6 +668,15 @@ defineExpose({
}
}
+ &.mcp {
+ background: rgba(236, 72, 153, 0.08);
+ color: #ec4899;
+
+ &:hover {
+ background: rgba(236, 72, 153, 0.12);
+ }
+ }
+
&.multi-turn {
background: rgba(59, 130, 246, 0.08);
color: #3b82f6;
diff --git a/internal/types/custom_agent.go b/internal/types/custom_agent.go
index 52ff6579..7953203f 100644
--- a/internal/types/custom_agent.go
+++ b/internal/types/custom_agent.go
@@ -195,6 +195,10 @@ func (a *CustomAgent) EnsureDefaults() {
if a.Config.MaxCompletionTokens == 0 {
a.Config.MaxCompletionTokens = 2048
}
+ // Agent mode should always enable multi-turn conversation
+ if a.Config.AgentMode == AgentModeSmartReasoning {
+ a.Config.MultiTurnEnabled = true
+ }
}
// IsAgentMode returns true if this agent uses ReAct agent mode
@@ -281,13 +285,15 @@ var BuiltinAgentRegistry = map[string]func(uint64) *CustomAgent{
BuiltinSmartReasoningID: GetBuiltinSmartReasoningAgent,
}
-// GetBuiltinAgentIDs returns all built-in agent IDs
+// builtinAgentIDsOrdered defines the fixed display order of built-in agents
+var builtinAgentIDsOrdered = []string{
+ BuiltinQuickAnswerID,
+ BuiltinSmartReasoningID,
+}
+
+// GetBuiltinAgentIDs returns all built-in agent IDs in fixed order
func GetBuiltinAgentIDs() []string {
- ids := make([]string, 0, len(BuiltinAgentRegistry))
- for id := range BuiltinAgentRegistry {
- ids = append(ids, id)
- }
- return ids
+ return builtinAgentIDsOrdered
}
// IsBuiltinAgentID checks if the given ID is a built-in agent ID