You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Azure OpenAI, calling $client->models()->list() will result in a "Undefined array key "created" exception thrown by src/Responses/Models/RetrieveResponse.
Description
When using the Azure OpenAI, calling $client->models()->list() will result in a "Undefined array key "created" exception thrown by src/Responses/Models/RetrieveResponse.
Steps To Reproduce
create a client using:
$client = OpenAI::factory()
->withBaseUri('{your-resource-name}.openai.azure.com/openai')
->withHttpHeader('api-key', '{your-api-key}')
->withQueryParam('api-version', '{version}')
->make();
fetch and output the response of models list using $client->models()->list()
OpenAI PHP Client Version
v0.10.1
PHP Version
8.1.0
Notes
No response
The text was updated successfully, but these errors were encountered: