Some of The Tools Bound with LLM in LangGraph are being Called Instead of Calling All of Them! #1697
Unanswered
MayarAlZerki
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using LangGraph to control the chain behaviour and path.
I have defined 3 functions (get_time, get_content, get_information). The three functions returns the state.
After I convert them using convert to openai function and invoke the graph as following:
The graph calls only 2 of the three bound tools. Knowing that the template contains keys for the three variables.
This is the router node, invoke tool node, and invoke_tool function.
I even believe that the invoke tool should be implemented like this. I cannot see a difference between using tools as nodes and the implementation of this function.
Your guidance is much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions