tool · inferred from evidence
agent factory
A component or utility that creates agents and requires the bind_tools method.
- ValueError: create_tool_calling_agent requires .bind_tools on the LLM when using with_fallbacks
The root cause: with_fallbacks wraps the model in a Runnable that hid bind_tools, so the agent factory could not find the method. A maintainer linked the fix in PR #22139, which forwards bind_tools through fallbacks: upgrade to langchain-co