diff --git a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py index 77306a126..2e9454f3f 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -512,7 +512,6 @@ def create_react_agent( response_tool_name = None if response_format is not None: from langchain_core.tools import StructuredTool - from pydantic import BaseModel # Extract the actual schema from tuple if needed actual_schema = response_format @@ -1117,3 +1116,4 @@ __all__ = [ +