openai-php / client

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

permissions object in models -> retrieve seems now optional leading to exceptions in client #231

Closed axelbecher closed 11 months ago

axelbecher commented 11 months ago

It seems since today the permissions data is optional or even gone, see this forum post:

https://community.openai.com/t/missing-permission-inside-model-response/470014

It is also gone from the official API-reference now:

https://platform.openai.com/docs/api-reference/models/object

Their API seems to change quickly and without notice ...

gehrisandro commented 11 months ago

A fix will be released soo: https://github.com/openai-php/client/pull/235