From 146a9b981db318fcd65536b4431ab0e2e22769d4 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Fri, 22 Aug 2025 12:17:58 +0000 Subject: [PATCH] Apply patch [skip ci] --- libs/prebuilt/langgraph/prebuilt/tool_node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/prebuilt/langgraph/prebuilt/tool_node.py b/libs/prebuilt/langgraph/prebuilt/tool_node.py index 8ebb77abf..3634031a4 100644 --- a/libs/prebuilt/langgraph/prebuilt/tool_node.py +++ b/libs/prebuilt/langgraph/prebuilt/tool_node.py @@ -584,7 +584,7 @@ class ToolNode(RunnableCallable): raise ValueError("No AIMessage found in input") tool_calls = [ - self.inject_tool_args(call, input, store) + self.inject_tool_args(call, input, store, config) for call in latest_ai_message.tool_calls ] return tool_calls, input_type @@ -1268,3 +1268,4 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]: return None +