bug fix
This commit is contained in:
@@ -77,8 +77,8 @@ class RoutingGraph(GraphBase):
|
|||||||
self.router = self.llm.with_structured_output(Route)
|
self.router = self.llm.with_structured_output(Route)
|
||||||
|
|
||||||
tool_manager:ToolManager = self.config.tool_manager_config.setup()
|
tool_manager:ToolManager = self.config.tool_manager_config.setup()
|
||||||
self.chat_model = create_agent(self.llm, [], self.memory)
|
self.chat_model = create_agent(self.llm, [], checkpointer=self.memory)
|
||||||
self.tool_model = create_agent(self.llm, tool_manager.get_langchain_tools(), self.memory)
|
self.tool_model = create_agent(self.llm, tool_manager.get_langchain_tools(), checkpointer=self.memory)
|
||||||
|
|
||||||
|
|
||||||
def _router_call(self, state:State):
|
def _router_call(self, state:State):
|
||||||
|
|||||||
Reference in New Issue
Block a user