From 915f4f359a3467b2a5de7ac6145f73cc3ab83ebe Mon Sep 17 00:00:00 2001 From: hzg0601 Date: Fri, 21 Jul 2023 09:29:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85openai=E7=9A=84=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E6=96=B9=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configs/model_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/model_config.py b/configs/model_config.py index bcc6a97..ea24c36 100644 --- a/configs/model_config.py +++ b/configs/model_config.py @@ -184,6 +184,8 @@ llm_model_dict = { # 调用chatgpt时如果报出: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.openai.com', port=443): # Max retries exceeded with url: /v1/chat/completions # 则需要将urllib3版本修改为1.25.11 + # 如果依然报urllib3.exceptions.MaxRetryError: HTTPSConnectionPool,则将https改为http + # 参考https://zhuanlan.zhihu.com/p/350015032 # 如果报出:raise NewConnectionError( # urllib3.exceptions.NewConnectionError: :