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

Fix incorrect property name (Run.canceledAt -> cancelledAt) #279

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

Gama11
Copy link
Contributor

@Gama11 Gama11 commented Dec 1, 2023

Noticed that my polling loop wouldn't stop when canceling a run and found that the property name didn't match when looking at the response body.

See https://platform.openai.com/docs/api-reference/runs/object#runs/object-cancelled_at - not sure if this was a typo in the library or if OpenAI changed this at some point.

@aallam
Copy link
Owner

aallam commented Dec 1, 2023

Nice catch! thank you for your contribution!

@aallam aallam merged commit d033aed into aallam:main Dec 1, 2023
@Gama11 Gama11 deleted the bugfix/cancelled_at branch December 1, 2023 20:01
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