diff --git a/gpt4free/theb/__init__.py b/gpt4free/theb/__init__.py index e3a7f78..b162811 100644 --- a/gpt4free/theb/__init__.py +++ b/gpt4free/theb/__init__.py @@ -40,6 +40,7 @@ class Completion: proxies=proxies, content_callback=Completion.handle_stream_response, json={'prompt': prompt, 'options': options}, + timeout=100000 ) Completion.stream_completed = True