Replies: 1 comment
-
Hey, @harrismcc! How is it going? Hope you are doing well :) Could you provide a code reproduction of the actual error? I don't mean with your real data, but at least with a prompt that tries to call the tool twice. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having trouble understanding how to use tool calling in a sequential way. I want the AI to be able to call a async tool multiple times, but I want it to do so sequentially. AKA I don't want it to call the tool multiple times at once.
Here is an example of what I have:
Note that this is very simplified, in real life I'm doing some actual I/O. But this code seems to allow it to run in parallel, as it will print
calling tool
twice right away, instead of once then again 1 second later.How can I get this working the way I want? I want the output of each tool call to influence the ai before it calls again basically. So that way it can respond to results like failures, or new information from the tool result.
Beta Was this translation helpful? Give feedback.
All reactions