[WebUI Beta 测试✨] 😎高稳定、🧩支持扩展、🦄多模态的 ChatGPT QQ / QQ频道 / One Bot 机器人🤖 | 支持 OpenAI GPT、Claude、Gemini Pro、Moonshot(Kimi)、gpt4free、Ollama、Gitee AI、dify 的 QQ / QQ频道 / OneBot 机器人 / Agent 平台;原名 QChatGPT
GNU Affero General Public License v3.0
4.48k
stars
334
forks
source link
[Bug]: 好像是BUG,不确定,再看看 #388
Closed
7980963 closed 1 year ago
部署方式
手动部署
系统环境
Denian11
Python环境
3.9
异常情况
AAAAAAAA是管理员账号,我看util.py (67) - [INFO] : message='OpenAI API response'.........好像是有回复的,但是机器人却报请求超时,同一个内容试了很多次,也重开过脚本,都是这样,在群聊里面@秒回。
报错信息
[2023-04-07 13:13:47.867] keymgr.py (61) - [INFO] : 使用api-key:ljl [2023-04-07 13:13:47.867] manager.py (30) - [INFO] : 文字总使用量:142313 [2023-04-07 13:13:47.868] session.py (67) - [INFO] : 加载session: group_BBBBBBBBBB [2023-04-07 13:13:47.868] session.py (67) - [INFO] : 加载session: person_AAAAAAAA [2023-04-07 13:13:47.869] manager.py (85) - [INFO] : 加载禁用列表: person: [2854196310], group: [204785790, 691226829] [2023-04-07 13:13:47.870] host.py (89) - [INFO] : 加载插件 [2023-04-07 13:13:47.871] models.py (219) - [INFO] : 插件注册完成: n='Switcher', d='快捷切换使用的模型', v=0.1, a='RockChinQ' (<class 'plugins.Switcher.main.SwitcherPlugin'>) [2023-04-07 13:13:47.871] host.py (81) - [INFO] : 加载模块: plugins/Switcher/main.py 成功 [2023-04-07 13:13:47.872] host.py (81) - [INFO] : 加载模块: plugins/Switcher/switches/model.py 成功 [2023-04-07 13:13:47.875] host.py (81) - [INFO] : 加载模块: plugins/Switcher/switches/newbing.py 成功 [2023-04-07 13:13:47.875] host.py (81) - [INFO] : 加载模块: plugins/Switcher/switches/openai_gpt3.py 成功 [2023-04-07 13:13:47.876] host.py (81) - [INFO] : 加载模块: plugins/Switcher/switches/openai_gpt35.py 成功 [2023-04-07 13:13:47.876] host.py (81) - [INFO] : 加载模块: plugins/Switcher/switches/openai_gpt4.py 成功 [2023-04-07 13:13:47.876] host.py (81) - [INFO] : 加载模块: plugins/Switcher/switches/revchatgpt_gpt35.py 成功 [2023-04-07 13:13:47.877] host.py (106) - [INFO] : 初始化插件 [2023-04-07 13:13:47.877] host.py (114) - [INFO] : 插件 Switcher 已初始化 [2023-04-07 13:13:47.879] bot.py (262) - [WARNING] : 未找到可用的 ASGI 服务,反向 WebSocket 和 WebHook 上报将不可用。 仅 HTTP 轮询与正向 WebSocket 可用。 建议安装 ASGI 服务器,如
uvicorn
或hypercorn
。 在命令行键入: pip install uvicorn 或者 pip install hypercorn [2023-04-07 13:13:47.999] websocket.py (194) - [INFO] : [WebSocket] 成功登录到账号XXXXXXXXX。 [2023-04-07 13:13:48.000] websocket.py (250) - [INFO] : [WebSocket] 机器人开始运行。按 Ctrl + C 停止。 [2023-04-07 13:13:57.558] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:13:59.890] main.py (293) - [INFO] : QQ: XXXXXXXXX, MAH: localhost:8080 [2023-04-07 13:13:59.891] main.py (294) - [INFO] : 程序启动完成,如长时间未显示 ”成功登录到账号xxxxx“ ,并且不回复消息,请查看 https://github.com/RockChinQ/QChatGPT/issues/37 [2023-04-07 13:14:06.036] main.py (324) - [INFO] : 当前已是最新版本 [2023-04-07 13:14:06.940] main.py (333) - [CRITICAL] : [公告] 2023/3/31 21:35 【插件兼容性问题】若您使用了revLibs插件,并将主程序升级到了v2.3.0,请立即使用管理员账号向机器人账号发送!plugin update命令更新逆向库插件,以解决由于情景预设重构引起的兼容性问题。 [2023-04-07 13:14:27.658] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(0) [2023-04-07 13:14:27.660] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:14:47.351] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(0) [2023-04-07 13:14:47.354] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:14:57.769] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(1) [2023-04-07 13:14:57.770] manager.py (334) - [INFO] : 通知管理员:person_AAAAAAAA 请求超时 [2023-04-07 13:14:57.770] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:15:01.888] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=33455 request_id=06bfa0b2c2d4c8a840083ea364ecad7d response_code=200 [2023-04-07 13:15:16.102] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=27981 request_id=71c725144aef887a477436ba06712598 response_code=200 [2023-04-07 13:15:17.462] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(1) [2023-04-07 13:15:17.463] manager.py (334) - [INFO] : 通知管理员:person_AAAAAAAA 请求超时 [2023-04-07 13:15:49.628] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=51117 request_id=c91dc4b389dfbe98c73e73143ee63d86 response_code=200 [2023-04-07 13:16:32.524] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:17:02.626] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(0) [2023-04-07 13:17:02.628] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:17:16.076] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=42743 request_id=85ee40ed4f2ea3a619b5e455615c71f4 response_code=200 [2023-04-07 13:17:30.718] message.py (25) - [INFO] : [group_BBBBBBBBBB]发送消息:大家好,我是肯德基的厨师,今天是疯狂星期... [2023-04-07 13:17:32.732] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(1) [2023-04-07 13:17:32.733] manager.py (334) - [INFO] : 通知管理员:person_AAAAAAAA 请求超时 [2023-04-07 13:17:33.929] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=30559 request_id=c28c30d95ed6a73abec1bc3e8b480a94 response_code=200 [2023-04-07 13:17:35.569] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=4126 request_id=fe3d799bb395a7850d0bf27443977da1 response_code=200 [2023-04-07 13:17:36.903] process.py (155) - [INFO] : 回复[group_BBBBBBBBBB]文字消息:这个说话内容不太恰当,含有针对性,建议不要使用。 [2023-04-07 13:17:54.834] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:18:07.801] message.py (25) - [INFO] : [group_BBBBBBBBBB]发送消息:ಠ_ಠ我有一个特异功能!! ಠ_ರೃ取下... [2023-04-07 13:18:13.499] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=4931 request_id=c1e88809fea98cfeee88b0b0d8420fc9 response_code=200 [2023-04-07 13:18:14.840] process.py (155) - [INFO] : 回复[group_BBBBBBBBBB]文字消息:这个内容比较奇特,不太合适在正式场合使用。请注意言行举止的得体性。 [2023-04-07 13:18:24.937] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(0) [2023-04-07 13:18:24.939] message.py (25) - [INFO] : [person_AAAAAAAA]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:18:25.397] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=29817 request_id=3ede8c75574f0cf5cc6b4bfcc847e98c response_code=200 [2023-04-07 13:18:55.042] manager.py (257) - [WARNING] : person_AAAAAAAA: 超时,重试中(1) [2023-04-07 13:18:55.044] manager.py (334) - [INFO] : 通知管理员:person_AAAAAAAA 请求超时 [2023-04-07 13:18:58.699] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=32995 request_id=06274824e913dbf62046d3cad9a0bfe6 response_code=200 [2023-04-07 13:19:18.056] message.py (25) - [INFO] : [group_CCCCCCCCCC]发送消息:XXXXXXXXXXXXXXXXXXXX... [2023-04-07 13:19:37.998] util.py (67) - [INFO] : message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=19182 request_id=03f13d5c6ed4518d362fe3b98122b395 response_code=200 [2023-04-07 13:19:39.004] process.py (155) - [INFO] : 回复[group_CCCCCCCCCC]文字消息:XXXXXXXXXXXXXXXXXXXX