We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using the openai API a lot, e.g. during experiments, I get a lot of errors that are not caught.
In the previous haystack version we caught all OpenAIError, now it is just the OpenAIRateLimitError, see https://github.com/deepset-ai/haystack/pull/4460/files#r1182887215
Error message File "/opt/homebrew/Caskroom/miniforge/base/envs/haystack/lib/python3.9/site-packages/openai/api_requestor.py", line 527, in request_raw raise error.Timeout("Request timed out: {}".format(e)) from e openai.error.Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
Process finished with exit code 1
Expected behavior since the openAI API is quite unstable I would love to catch those errors.
The text was updated successfully, but these errors were encountered:
silvanocerza
Successfully merging a pull request may close this issue.
Describe the bug
When using the openai API a lot, e.g. during experiments, I get a lot of errors that are not caught.
In the previous haystack version we caught all OpenAIError, now it is just the OpenAIRateLimitError, see https://github.com/deepset-ai/haystack/pull/4460/files#r1182887215
Error message
File "/opt/homebrew/Caskroom/miniforge/base/envs/haystack/lib/python3.9/site-packages/openai/api_requestor.py", line 527, in request_raw
raise error.Timeout("Request timed out: {}".format(e)) from e
openai.error.Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
Process finished with exit code 1
Expected behavior
since the openAI API is quite unstable I would love to catch those errors.
The text was updated successfully, but these errors were encountered: