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

timeout not being respected by client.beta.threads.runs.create_and_poll (or .OpenAI) #1855

Open
1 task done
Dev63 opened this issue Nov 7, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@Dev63
Copy link

Dev63 commented Nov 7, 2024

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

Calling client.beta.threads.runs.create_and_poll(..., timeout=2.0) will wait as long as it takes before returning (6s, 5 minutes).

To Reproduce

Call client.beta.threads.runs.create_and_poll(..., timeout=2.0) and observe that it does not timeout.

Code snippets

No response

OS

Windows

Python version

Python 3.9

Library version

openai 1.51.2

@Dev63 Dev63 added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant