openai-openapi icon indicating copy to clipboard operation
openai-openapi copied to clipboard

feat: Make ParalleToolCalls nullable

Open HavenDV opened this issue 1 year ago • 0 comments

It should be nullable and null by default because API will return error for simple chat requests:

{
  "error": {
    "message": "Invalid value for 'parallel_tool_calls': 'parallel_tool_calls' is only allowed when 'tools' are specified.",
    "type": "invalid_request_error",
    "param": "parallel_tool_calls",
    "code": null
  }
}

HavenDV avatar Jul 10 '24 04:07 HavenDV