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

Set timeout to a higher value #20

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Set timeout to a higher value #20

merged 1 commit into from
Jun 13, 2024

Conversation

mdumandag
Copy link
Collaborator

The default read timeout for httpx is 5 seconds, it is not enough for some long running chat completion requests.

Therefore, I set the default timeout value to something higher.

Note that, previously, when using requests library, we were using the default timeout, which was infinite. I set this new timeout to 10 minutes, which should be enough almost all the time.

The default read timeout for httpx is 5 seconds, it is not enough
for some long running chat completion requests.

Therefore, I set the default timeout value to something higher.

Note that, previously, when using requests library, we were using
the default timeout, which was infinite. I set this new timeout to
10 minutes, which should be enough almost all the time.
@mdumandag mdumandag requested a review from CahidArda June 13, 2024 11:21
@CahidArda CahidArda merged commit 4bfda9b into main Jun 13, 2024
1 check passed
@CahidArda CahidArda deleted the timeout branch June 13, 2024 13:34
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