-
-
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 "code" $client->fineTuning()->listJobs() #337
Labels
bug
Something isn't working
Comments
Form some quick debugging it seems $attributes only contains $attributes['error'] which = null. The only way I could quickly hot fix to get my project working again was by adding null coalescing operators, which is a dirty fix I know...
Then my finetune jobs load again as normal. |
Hey, yes, it's related: the ticket explores the reason of that error and a possible fix: #336 |
I'm facing the same issue, any solution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am suddenly getting: Undefined array key "code" when calling $client->fineTuning()->listJobs()
I guess openai have changed something?
Issue seems to be here: openai-php\client\src\Responses\FineTuning\RetrieveJobResponseError.php
Steps To Reproduce
Call $client->fineTuning()->listJobs()
OpenAI PHP Client Version
v0.8.4
PHP Version
8.2
Notes
Potentially related issue: #336
The text was updated successfully, but these errors were encountered: