This commit is contained in:
2025-11-21 22:29:39 +08:00
parent 908964ea63
commit 00296f1fb6

View File

@@ -129,7 +129,7 @@ class RoutingGraph(GraphBase):
self.router = self.fast_llm.with_structured_output(Route)
tool_manager:ToolManager = self.config.tool_manager_config.setup()
self.chat_model = create_agent(self.llm, self._get_chat_tools(tool_manager), checkpointer=self.memory)
self.chat_model = create_agent(self.chat_llm, self._get_chat_tools(tool_manager), checkpointer=self.memory)
self.tool_node:GraphBase = self.config.tool_node_config.setup(tool_manager=tool_manager,
memory=self.memory)