docs/how_to/agent_executor/ #28180
Replies: 2 comments
-
model_with_tools = model.bind_tools(tools) response = model_with_tools.invoke([HumanMessage(content="Hi!")]) print(f"ContentString: {response.content}") am getting the empyt content |
Beta Was this translation helpful? Give feedback.
-
When creating_tool_calling_agent, we already have bound tools for this agent. why do we need to bind them again when setting the agent executor? What will happen if we bind tools to the agent executor other than those when creating the agent? |
Beta Was this translation helpful? Give feedback.
-
docs/how_to/agent_executor/
This section will cover building with the legacy LangChain AgentExecutor. These are fine for getting started, but past a certain point, you will likely want flexibility and control that they do not offer. For working with more advanced agents, we'd recommend checking out LangGraph Agents or the migration guide
https://python.langchain.com/docs/how_to/agent_executor/
Beta Was this translation helpful? Give feedback.
All reactions