Update __init__.py
add timeout argument to solve long response message timeout issue
このコミットが含まれているのは:
コミット
68583f46cd
|
@ -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
|
||||
|
|
読み込み中…
新しいイシューから参照