openai-php / client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
MIT License
4.6k stars 468 forks source link

CreateResponse fails to create response with new tools format #238

Closed chekalsky closed 8 months ago

chekalsky commented 8 months ago

CreateResponse is not yet aware of new field in responses called tool_calls and returns null as a content in response.

gehrisandro commented 8 months ago

Done in https://github.com/openai-php/client/releases/tag/v0.7.7