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

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

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

Ruud68
Copy link
Contributor

@Ruud68 Ruud68 commented Jan 25, 2024

What:

  • Bug Fix
  • New Feature

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

@Ruud68 Ruud68 changed the title PR for issue #323 OpenAI\Responses\Files\RetrieveResponse::__construct(): Argument #3 ($bytes) must be of type int, null given Jan 25, 2024
@gehrisandro gehrisandro merged commit 77ab63c into openai-php:main Jan 26, 2024
6 of 8 checks passed
@gehrisandro
Copy link
Collaborator

@Ruud68

Thank you for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants