OpenAI with Toolset return "No tool call found for function call output"

Hello,

Same like FNC Cloud Pack

Toolset with OpenAI, since last version 1.5.1.0 on Delphi 11.3 or 12.3 (Win32 VCL), 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…

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