Not sure if this is the ideal place to report this, I’d like to move some calls to Azure, they require an api-version in their endpoint calls, but these definition files seem to be out of date or wrong?
For example, there’s a tools-choice Param which allows 3 values: none, auto or required.
My setup requires the “required” value, yet on Azure, it complains that only none or auto are the only correct values.
From the OpenAI docs:
tool_choice
string or object
Optional
Controls which (if any) tool is called by the model. none
means the model will not call any tool and instead generates a message. auto
means the model can pick between generating a message or calling one or more tools. required
means the model must call one or more tools. Specifying a particular tool via {"type": "function", "function": {"name": "my_function"}}
forces the model to call that tool.
none
is the default when no tools are present. auto
is the default if tools are present.