Merge pull request #40 from RockChinQ/dev

chore merge
This commit is contained in:
Rock Chin
2022-12-15 23:39:24 +08:00
committed by GitHub
2 changed files with 9 additions and 2 deletions

View File

@@ -97,9 +97,16 @@
### 自动化部署
以下方式二选一Linux首选DockerWindows首选安装器
#### Docker方式
请查看此仓库[mikumifa/QChatGPT-Docker-Installer](https://github.com/mikumifa/QChatGPT-Docker-Installer)
#### 安装器方式
使用[此安装器](https://github.com/RockChinQ/qcg-installer)(若无法访问请到[Gitee](https://gitee.com/RockChin/qcg-installer))进行部署
- 安装器目前仅支持部分平台,请到仓库文档查看,其他平台请手动部署
- 安装器目前仅支持部分平台,请到仓库文档查看,其他平台请手动部署
### 手动部署
<details>

View File

@@ -192,7 +192,7 @@ class QQBotManager:
reply = prefix + session.append(text_message)
except openai.error.APIConnectionError as e:
self.notify_admin("{}会话调用API失败:{}".format(session_name, e))
reply = "[bot]err:调用API失败请联系作者或等待修复"
reply = "[bot]err:调用API失败重试或联系作者,或等待修复"
except openai.error.RateLimitError as e:
self.notify_admin("API调用额度超限,请向OpenAI账户充值或在config.py中更换api_key")
reply = "[bot]err:API调用额度超额请联系作者或等待修复"