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__ = [ +