mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Merge pull request #408 from ZachKLYeh/main
Solve 'Operation timeout after 30000 milliseconds' error
This commit is contained in:
commit
1b32d4f898
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user