-
-
Notifications
You must be signed in to change notification settings - Fork 456
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
Undefined array key "choices" {"exception":"[object] (ErrorException(code: 0): Undefined array key "choices" #147
Comments
I am getting the same but not on every call. I think this is related to the openai api having issues. The $attributes array is actually then
instead of eg
|
I know I fixed it by myself and use my software logic, but it seems its broken when openai doesnt work. I dont have it every request as well, just in a problem with OpenAI api |
I assume you were also calling |
exactly gpt-4-0613. ok good to know :) |
Hi I am using the newest version 0.6.1 and still having this:
[2023-06-17 09:09:12] production.ERROR: Undefined array key "choices" {"exception":"[object] (ErrorException(code: 0): Undefined array key "choices" at /home/forge/app.deeply.cz/vendor/openai-php/client/src/Responses/Chat/CreateStreamedResponse.php:44)
[stacktrace]
any idea? thanks a lot
The text was updated successfully, but these errors were encountered: