XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update __init__.py

add timeout argument to solve long response message timeout issue

68583f46
ZachKLYeh <105150034+ZachKLYeh@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -0
Modified gpt4free/theb/__init__.py +1 -0
@@ -40,6 +40,7 @@ class Completion:
40 40 proxies=proxies,
41 41 content_callback=Completion.handle_stream_response,
42 42 json={'prompt': prompt, 'options': options},
43 timeout=100000
43 44 )
44 45
45 46 Completion.stream_completed = True