openai-php / client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
MIT License
4.56k stars 466 forks source link

OpenAI\Responses\Files\RetrieveResponse::__construct(): Argument #3 ($bytes) must be of type int, null given #325

Closed Ruud68 closed 5 months ago

Ruud68 commented 5 months ago

What:

Description:

in the response from OpenAI, bytes can be null. The construct here only accepts integers leading to an error. See bug report for more details (#323)

Related:

solves reported bug #323

gehrisandro commented 5 months ago

@Ruud68

Thank you for the PR.