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

Make Run.expires_at optional #141

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Conversation

nodir-t
Copy link
Contributor

@nodir-t nodir-t commented Nov 9, 2023

Sometimes Run retreivals fail with message that it couldn't convert null to i32. Looks like expires_at is actually optional, see example in https://platform.openai.com/docs/api-reference/runs

Change its type from i32 to Optional. The problem was resolved after this change.

Sometimes Run retreivals fail with message that it couldn't convert null to
i32. Looks like expires_at is actually optional, see example in
https://platform.openai.com/docs/api-reference/runs

Change its type from i32 to Optional<i32>
@64bit
Copy link
Owner

64bit commented Nov 9, 2023

Oh its one of those cases where spec has a diff.

Thank you for the description and fix!

@64bit 64bit merged commit ecf3640 into 64bit:main Nov 9, 2023
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.

None yet

2 participants