Should this not be in line with the chat completions api?
|
messages.tool_choice = request_table.tool_choice |
Currently, when using the chat completions api with tools :
{"type":"error","error":{"type":"invalid_request_error","message":"tool_choice: Input should be a valid dictionary or object to extract fields from"}}