Open Dev63 opened 2 weeks ago
Calling client.beta.threads.runs.create_and_poll(..., timeout=2.0) will wait as long as it takes before returning (6s, 5 minutes).
Call client.beta.threads.runs.create_and_poll(..., timeout=2.0) and observe that it does not timeout.
No response
Windows
Python 3.9
openai 1.51.2
Confirm this is an issue with the Python library and not an underlying OpenAI API
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