diff --git a/pkg/qqbot/message.py b/pkg/qqbot/message.py index 309632f7..8fe168ae 100644 --- a/pkg/qqbot/message.py +++ b/pkg/qqbot/message.py @@ -68,7 +68,7 @@ def process_normal_message(text_message: str, mgr, config, launcher_type: str, except openai.error.APIConnectionError as e: err_msg = str(e) if err_msg.__contains__('Error communicating with OpenAI'): - reply = handle_exception("{}会话调用API失败:{}\n请尝试关闭网络代理来解决此问题。".format(session_name, e), + reply = handle_exception("{}会话调用API失败:{}\n您的网络无法访问OpenAI接口或网络代理不正常".format(session_name, e), "[bot]err:调用API失败,请重试或联系管理员,或等待修复") else: reply = handle_exception("{}会话调用API失败:{}".format(session_name, e), "[bot]err:调用API失败,请重试或联系管理员,或等待修复")