OpenAI : "No tool call found for function call output"

Hello,

Toolset with OpenAI, since last version 3.6.3.7, return this error :

HTTP Status code: 400 : {
  "error": {
    "message": "No tool call found for function call output with call_id call_F9VC8YBZdiq193E8gWlHJRPp.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}

Easy to reproduce, tested with your sample “uaitoolsets.dpr “.

But it’s work fine with Mistral API…

It seems changed behavior in OpenAI REST API in combination with model causes this.
We are investigating & working on finding a fix for this.

We applied improvements to make it working across different OpenAI models. Different models apparently expect slightly different config.
We’ll release an update shortly.