From 8c8abdc06bdd541cb0249443d80fbb44adf5546c Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Sat, 17 May 2025 10:06:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agents/chatbot/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/chatbot/graph.py b/src/agents/chatbot/graph.py index 2cad6a85..d28d490e 100644 --- a/src/agents/chatbot/graph.py +++ b/src/agents/chatbot/graph.py @@ -66,7 +66,7 @@ class ChatbotAgent(BaseAgent): conf = self.config_schema.from_runnable_config(config_schema, agent_name=self.name) workflow = StateGraph(State, config_schema=self.config_schema) workflow.add_node("chatbot", self.llm_call) - workflow.add_node("tools", ToolNode(tools=self._get_tools(conf.tools))) + workflow.add_node("tools", ToolNode(tools=list(get_all_tools().values()))) workflow.add_edge(START, "chatbot") workflow.add_conditional_edges( "chatbot",