From 8d9d5cdcb79b293c433b9fcc44ca9fcefbc5df38 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Tue, 12 Aug 2025 16:55:58 +0000 Subject: [PATCH] Apply patch [skip ci] --- libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py index 3bce8309a..f73281c17 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -742,7 +742,7 @@ def create_react_agent( `.bind_tools()` and support required functionality. Bound tools must be a subset of those specified in the `tools` parameter. - tools: A list of tools or a ToolNode instance. + tools: A list of tools. If an empty list is provided, the agent will consist of a single LLM node without tool calling. prompt: An optional prompt for the LLM. Can take a few different forms: @@ -1373,3 +1373,4 @@ __all__ = [ +