Assistant, tools callback with multiple arguments


I am trying to build a tools callback with multiple required parameters, but the assistant only calls back with one parameter.

Has anyone tried this and got it working?

Let me mask differently: How can I diagnose what might be going on when I lack required parameters in the assistant callback?

Seems hard to help without actually having a look at the implementation. If I get it right your assistant is making one call but you expect it to make more than 1 call at a go? Or the assistant is making many tool calls but your code is sending its output for only one. Which is the case or none?

Share the TEMPLATE you are using for the call so we can look

You have to add the function arguments when you call the function. Assistants seem to call functions the same way as completions.

There’s an example of how to use functions here: Function calling - OpenAI API