diff --git a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py index f53c81b74..c6df46d7b 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -678,7 +678,7 @@ def create_react_agent( Awaitable[Runnable[LanguageModelInput, BaseMessage]], ], ], - tools: Union[Sequence[Union[BaseTool, Callable, dict[str, Any]]], ToolNode], + tools: Sequence[Union[BaseTool, Callable, dict[str, Any]]], *, prompt: Optional[Prompt] = None, response_format: Optional[ @@ -1371,3 +1371,4 @@ __all__ = [ +