Код: Выделить всё
from langchain.agents import create_tool_calling_agent
from langchain.agents.agent_executor import AgentExecutor
executor = AgentExecutor(
agent=supervisor_agent,
tools=[insurance_subagent, drafting_subagent],
verbose=True
)
Код: Выделить всё
ImportError: cannot import name 'create_tool_calling_agent' from 'langchain.agents'
Подробнее здесь: https://stackoverflow.com/questions/798 ... chain-agen
Мобильная версия