Skip to content

Commit

Permalink
increase default request timeput of chat client to 5min
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsrolf committed Feb 11, 2025
1 parent 41c7543 commit 73d38e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openweights/client/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AsyncChatCompletions:
When both timeouts are set, the maximum of the two is used.
"""
def __init__(self, ow, deploy_kwargs={}, request_timeout=5, per_token_timeout=1):
def __init__(self, ow, deploy_kwargs={}, request_timeout=300, per_token_timeout=1):
self.ow = ow
self.completions = self
self.deploy_kwargs = deploy_kwargs
Expand Down

0 comments on commit 73d38e5

Please sign in to comment.