mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 12:56:02 +00:00
@@ -97,9 +97,16 @@
|
||||
|
||||
### 自动化部署
|
||||
|
||||
以下方式二选一,Linux首选Docker,Windows首选安装器
|
||||
|
||||
#### 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>
|
||||
|
||||
@@ -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调用额度超额,请联系作者,或等待修复"
|
||||
|
||||
Reference in New Issue
Block a user