-
-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Undefined array key "usage" with Vision endpoint on Azure #338
Comments
Possibly connected to #336 |
Doing some more digging and it looks like this specific model is not returning the "usage" Response from the gpt-4-vision-preview model with an image Response from GPT-4 model text |
Description
I'm trying to use vision on Azure, this was working before.
It seems that Azure has changed the format of their response for the Vision endpoint.
I am creating the client with the factory etc. But since today the code that had been working has stopped working.
This results in the error Undefined array key "usage"
I'm running the latests version of the client.
Steps To Reproduce
OpenAI PHP Client Version
v0.8.4
PHP Version
8.1
Notes
No response
The text was updated successfully, but these errors were encountered: