mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-08 02:37:52 +02:00
x
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user