Skip to content

[Bug]: Wrong type RetrieveJobResponseError constructor #342

@PietroGhislieri98

Description

@PietroGhislieri98

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions