Skip to content
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]: Wrong type RetrieveJobResponseError constructor #342

Open
PietroGhislieri98 opened this issue Feb 27, 2024 · 0 comments
Open

[Bug]: Wrong type RetrieveJobResponseError constructor #342

PietroGhislieri98 opened this issue Feb 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PietroGhislieri98
Copy link

Description

OpenAI\Responses\FineTuning\RetrieveJobResponseError::__construct(): Argument #1 ($code) must be of type string, null given, called in /home/apps/manager-shellrent/vendor/openai-php/client/src/Responses/FineTuning/RetrieveJobResponseError.php on line 37
When creating a FineTuning Job, the instance returned from FineTuning::createJob() is an intance of RetrieveJobResponse and gives the error above
even if the job from the dashboard is succesfull

Steps To Reproduce

create FineTuning::createJob() that gives a succesful response

OpenAI PHP Client Version

0.8.4

PHP Version

8.1

Notes

No response

@PietroGhislieri98 PietroGhislieri98 added the bug Something isn't working label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant