重构架构:恢复统一的 llm_call 节点,移除错误的 final_response 节点
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m50s
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m50s
This commit is contained in:
@@ -46,7 +46,7 @@ class AIAgentService:
|
||||
for name, llm in chat_services.items():
|
||||
try:
|
||||
info(f"🔄 初始化模型 '{name}'...")
|
||||
graph = build_react_main_graph().compile(checkpointer=self.checkpointer)
|
||||
graph = build_react_main_graph(llm=llm, tools=self.tools).compile(checkpointer=self.checkpointer)
|
||||
self.graphs[name] = graph
|
||||
info(f"✅ 模型 '{name}' 初始化成功")
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user