langgraph/how-tos/many-tools/ #2057
Replies: 3 comments 2 replies
-
The first graph has conditional edge from 'agent': builder.add_conditional_edges(
"agent",
tools_condition,
) and the 'tools_condition' code and signature show: Signature:
tools_condition(
state: 'Union[list[AnyMessage], dict[str, Any], BaseModel]',
) -> "Literal['tools', '__end__']" The visual graph is showing three branches out of agent -- the branches to 'tools' and 'end' that's in that signature, which makes sense. But there's also a branch from 'agent' back to 'select_tools' -- it doesn't seem to be from the |
Beta Was this translation helpful? Give feedback.
-
I'm using the first code above and getting direct answer from the llm, the function tools is not calling by agent/graph. I'm using the mistralai with following packages:
output:
|
Beta Was this translation helpful? Give feedback.
-
It would be great to have an educational video on this topic. |
Beta Was this translation helpful? Give feedback.
-
langgraph/how-tos/many-tools/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/how-tos/many-tools/
Beta Was this translation helpful? Give feedback.
All reactions