You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 400 error that is returned when making the request is:
data:{error: {message: Invalid value for 'tool_choice': 'tool_choice' is only allowed when 'tools' are specified., type: invalid_request_error, param: tool_choice, code: null}}
Even if this was successful the response also does not appear to be correctly deserializing the function call, trying to use "function_call" instead of "tool_calls".
The text was updated successfully, but these errors were encountered:
Using ChatCompleteText the tools property is not getting serialized in the toJson function leading to error:
The 400 error that is returned when making the request is:
data:{error: {message: Invalid value for 'tool_choice': 'tool_choice' is only allowed when 'tools' are specified., type: invalid_request_error, param: tool_choice, code: null}}
Even if this was successful the response also does not appear to be correctly deserializing the function call, trying to use "function_call" instead of "tool_calls".
The text was updated successfully, but these errors were encountered: