diff --git a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py index bae31c6ca..4f6cb6e9a 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -346,8 +346,8 @@ class _AgentBuilder: model = self.model if isinstance(model, str): try: - from langchain.chat_models import ( - init_chat_model, # type: ignore[import-not-found] + from langchain.chat_models import ( # type: ignore[import-not-found] + init_chat_model, ) except ImportError: raise ImportError(