@@ -78,7 +78,7 @@ class MinimaxChatCompletion(object):
try:
response = post(
- url=url, data=dumps(body), headers=headers, stream=stream, timeout=10)
+ url=url, data=dumps(body), headers=headers, stream=stream, timeout=(10, 300))
except Exception as e:
raise InternalServerError(e)
@@ -84,7 +84,7 @@ class MinimaxChatCompletionPro(object):