fix: get_agent_config 添加 tools 字段返回

This commit is contained in:
2026-04-13 16:46:00 +08:00
parent 25e92b1fb1
commit c0ed6cd505

View File

@@ -126,6 +126,7 @@ class AgentService:
'model_override': agent.model_override,
'max_history': agent.max_history,
'temperature_override': agent.temperature_override,
'tools': agent.tools or [], # 工具列表
'is_default': agent.is_default,
'is_active': agent.is_active
},