zhayujie / chatgpt-on-wechat

基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择GPT3.5/GPT-4o/GPT4.0/ Claude/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Claude/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
https://docs.link-ai.tech/cow
MIT License
27.96k stars 7.45k forks source link

部署一切正常,登录也可以,但机器人不能使用,日志也无法收到信息。 #2082

Closed TerryZT closed 1 week ago

TerryZT commented 2 weeks ago

前置确认

⚠️ 搜索issues中是否已存在类似问题

操作系统类型?

Docker

运行的python版本是?

python 3.8

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

1718490222011

问题描述 😯

不熟一切正常,反复检查了很多次,部署没有问题,但微信登录上以后无法接收信息,日志也没有任何动态,正常收到信息日志会有显示内容。

终端日志 📒

Please press confirm on your phone.
Loading the contact, this may take a little while.
[INFO][2024-06-16 06:17:57][wechat_channel.py:131] - Wechat login success, user_id: xxx, nickname: Kellen
Start auto replying.
TerryZT commented 2 weeks ago

[ERROR][2024-06-16 04:47:20][config.py:255] - Expecting property name enclosed in double quotes: line 5 column 61 (char 137) Traceback (most recent call last): File "/root/chatgpt-on-wechat/config.py", line 239, in drag_sensitive conf_dict: dict = json.loads(config) File "/root/anaconda/envs/AI/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 61 (char 137) [ERROR][2024-06-16 04:47:20][app.py:66] - App startup failed! [ERROR][2024-06-16 04:47:20][app.py:67] - Expecting property name enclosed in double quotes: line 5 column 61 (char 137) Traceback (most recent call last): File "app.py", line 46, in run load_config() File "/root/chatgpt-on-wechat/config.py", line 271, in load_config config = Config(json.loads(config_str)) File "/root/anaconda/envs/AI/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 61 (char 137) [ERROR][2024-06-16 04:48:00][config.py:255] - Expecting property name enclosed in double quotes: line 5 column 61 (char 137) Traceback (most recent call last): File "/root/chatgpt-on-wechat/config.py", line 239, in drag_sensitive conf_dict: dict = json.loads(config) File "/root/anaconda/envs/AI/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 61 (char 137) [ERROR][2024-06-16 04:48:00][app.py:66] - App startup failed! [ERROR][2024-06-16 04:48:00][app.py:67] - Expecting property name enclosed in double quotes: line 5 column 61 (char 137) Traceback (most recent call last): File "app.py", line 46, in run load_config() File "/root/chatgpt-on-wechat/config.py", line 271, in load_config config = Config(json.loads(config_str)) File "/root/anaconda/envs/AI/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 61 (char 137) [ERROR][2024-06-16 04:56:18][config.py:255] - Expecting property name enclosed in double quotes: line 5 column 61 (char 137) Traceback (most recent call last): File "/root/chatgpt-on-wechat/config.py", line 239, in drag_sensitive conf_dict: dict = json.loads(config) File "/root/anaconda/envs/AI/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 61 (char 137) [ERROR][2024-06-16 04:56:18][app.py:66] - App startup failed! [ERROR][2024-06-16 04:56:18][app.py:67] - Expecting property name enclosed in double quotes: line 5 column 61 (char 137) Traceback (most recent call last): File "app.py", line 46, in run load_config() File "/root/chatgpt-on-wechat/config.py", line 271, in load_config config = Config(json.loads(config_str)) File "/root/anaconda/envs/AI/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/anaconda/envs/AI/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 61 (char 137) [INFO][2024-06-16 05:00:37][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4o', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:00:37][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:00:37][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:00:37][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:00:37][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:00:37][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin GODCMD not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin KEYWORD not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin BANWORDS not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin LINKAI not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin ROLE not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin DUNGEON not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin BDUNIT not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin HELLO not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][plugin_manager.py:123] - Plugin FINISH not found in pconfig, adding to pconfig... [INFO][2024-06-16 05:00:37][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为9723。 [INFO][2024-06-16 05:00:37][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:00:37][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:00:37][keyword.py:42] - [keyword] inited. [WARNING][2024-06-16 05:00:37][banwords.py:54] - [Banwords] init failed, ignore or see https://github.com/zhayujie/chatgpt-on-wechat/tree/master/plugins/banwords . [WARNING][2024-06-16 05:00:37][plugin_manager.py:150] - Failed to init BANWORDS, diabled. [Errno 2] No such file or directory: '/root/chatgpt-on-wechat/plugins/banwords/banwords.txt' [INFO][2024-06-16 05:00:37][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:00:37][role.py:69] - [Role] inited [INFO][2024-06-16 05:00:37][dungeon.py:56] - [Dungeon] inited [WARNING][2024-06-16 05:00:37][bdunit.py:42] - [BDunit] init failed, ignore [WARNING][2024-06-16 05:00:37][plugin_manager.py:150] - Failed to init BDUNIT, diabled. config.json not found [INFO][2024-06-16 05:00:37][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:00:37][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:02:51][wechat_channel.py:131] - Wechat login success, user_id: @bc45beaa18c8722a7e09853b601db83761e0926fe7c46c2beddea21f2fdb038d, nickname: Kenneth [INFO][2024-06-16 05:17:34][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4o', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:17:34][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:17:34][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:17:34][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:17:34][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:17:34][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:17:34][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为9412。 [INFO][2024-06-16 05:17:34][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:17:34][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:17:34][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 05:17:34][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:17:34][role.py:69] - [Role] inited [INFO][2024-06-16 05:17:34][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 05:17:34][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:17:34][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:17:52][wechat_channel.py:131] - Wechat login success, user_id: @b574c1a4c891e5bffa82b3cb3d7317644031158431face65a64e9fd45f81301e, nickname: Kenneth [INFO][2024-06-16 05:22:04][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4o', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:22:04][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:22:04][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:22:04][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:22:04][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:22:04][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:22:04][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为7695。 [INFO][2024-06-16 05:22:04][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:22:04][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:22:04][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 05:22:04][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:22:04][role.py:69] - [Role] inited [INFO][2024-06-16 05:22:04][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 05:22:04][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:22:04][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:22:25][wechat_channel.py:131] - Wechat login success, user_id: @5a665ea6a5b5f74a9df7d40d6c7eed1c50e91351f6d817e2f399531a18d49522, nickname: Erin英语启蒙 [WARNING][2024-06-16 05:32:06][wechat_message.py:92] - [WX]get other_user_id failed: 'NickName' [INFO][2024-06-16 05:36:02][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4o', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:36:02][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:36:02][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:36:02][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:36:02][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:36:02][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:36:02][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为9763。 [INFO][2024-06-16 05:36:02][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:36:02][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:36:02][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 05:36:02][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:36:02][role.py:69] - [Role] inited [INFO][2024-06-16 05:36:02][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 05:36:02][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:36:02][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:36:41][wechat_channel.py:131] - Wechat login success, user_id: @680a850e90e7199e8105d45946c6d16f0ab3fe278d5e5563fccb48480a1dbdfb, nickname: Kellen [INFO][2024-06-16 05:42:03][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:42:03][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:42:03][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:42:03][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:42:03][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:42:03][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:42:03][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为5361。 [INFO][2024-06-16 05:42:03][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:42:03][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:42:03][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 05:42:03][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:42:03][role.py:69] - [Role] inited [INFO][2024-06-16 05:42:03][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 05:42:03][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:42:03][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:42:26][wechat_channel.py:131] - Wechat login success, user_id: @a0d86fc399b97ceb7ec36f895e677ca31025524d7384c86c77eb9a8c47d3f8b5, nickname: Kellen [INFO][2024-06-16 05:44:13][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:44:13][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:44:13][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:44:13][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:44:13][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:44:13][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:44:13][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为1498。 [INFO][2024-06-16 05:44:13][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:44:13][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:44:13][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 05:44:13][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:44:13][role.py:69] - [Role] inited [INFO][2024-06-16 05:44:13][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 05:44:13][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:44:13][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:44:39][wechat_channel.py:131] - Wechat login success, user_id: @1c1d1bba8a4f995561fec7f1dfc062d9628ca7cb935a728aa459495f63cee26b, nickname: Erin英语启蒙 [INFO][2024-06-16 05:45:13][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:45:13][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:45:13][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:45:13][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:45:13][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:45:13][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:45:13][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为6893。 [INFO][2024-06-16 05:45:13][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:45:13][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:45:13][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 05:45:13][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:45:13][role.py:69] - [Role] inited [INFO][2024-06-16 05:45:13][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 05:45:13][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:45:13][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:46:03][wechat_channel.py:131] - Wechat login success, user_id: @71b11480b2ab1418e9a36c1205964a84, nickname: 阿泰 [INFO][2024-06-16 05:47:37][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT阅陶教育', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 05:47:37][config.py:219] - [Config] User datas file not found, ignore. [INFO][2024-06-16 05:47:37][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 05:47:37][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 05:47:37][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 05:47:37][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 05:47:37][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为7603。 [INFO][2024-06-16 05:47:37][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 05:47:37][keyword.py:40] - [keyword] {} [INFO][2024-06-16 05:47:37][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 05:47:37][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 05:47:37][role.py:69] - [Role] inited [INFO][2024-06-16 05:47:37][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 05:47:37][hello.py:38] - [Hello] inited [INFO][2024-06-16 05:47:37][finish.py:23] - [Finish] inited [INFO][2024-06-16 05:48:09][wechat_channel.py:131] - Wechat login success, user_id: @ab3639ea097152b740976329b4bbaf63, nickname: 阿泰 [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 05:49:10][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 05:49:10][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 06:01:44][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT阅陶教育', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 06:01:44][config.py:217] - [Config] User datas loaded. [INFO][2024-06-16 06:01:44][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 06:01:44][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 06:01:44][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 06:01:44][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 06:01:44][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为5704。 [INFO][2024-06-16 06:01:44][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 06:01:44][keyword.py:40] - [keyword] {} [INFO][2024-06-16 06:01:44][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 06:01:44][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 06:01:44][role.py:69] - [Role] inited [INFO][2024-06-16 06:01:44][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 06:01:44][hello.py:38] - [Hello] inited [INFO][2024-06-16 06:01:44][finish.py:23] - [Finish] inited [INFO][2024-06-16 06:02:27][wechat_channel.py:131] - Wechat login success, user_id: @c589460021b99b92ba23e26bba95c5950a6d5b12e490e4b19197ac4fec7830e7, nickname: Kellen [INFO][2024-06-16 06:10:45][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT阅陶教育', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 06:10:45][config.py:217] - [Config] User datas loaded. [INFO][2024-06-16 06:10:45][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 06:10:45][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 06:10:45][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 06:10:45][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 06:10:45][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为5182。 [INFO][2024-06-16 06:10:45][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 06:10:45][keyword.py:40] - [keyword] {} [INFO][2024-06-16 06:10:45][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 06:10:45][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 06:10:45][role.py:69] - [Role] inited [INFO][2024-06-16 06:10:45][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 06:10:45][hello.py:38] - [Hello] inited [INFO][2024-06-16 06:10:45][finish.py:23] - [Finish] inited [INFO][2024-06-16 06:11:08][wechat_channel.py:131] - Wechat login success, user_id: @f36ce6920e10ef0a88b23f3bde26254d579c7b6e241435516987e272a86d02db, nickname: Kellen [INFO][2024-06-16 06:13:47][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 06:13:47][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 06:13:47][app.py:19] - signal 15 received, exiting... [INFO][2024-06-16 06:13:47][config.py:228] - [Config] User datas saved. [INFO][2024-06-16 06:17:27][config.py:293] - [INIT] load config: {'channel_type': 'wx', 'model': 'GPT-4', 'open_ai_api_key': 'sk-456', 'open_ai_api_base': 'http://124.71.103.145:7077/v1', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT阅陶教育', 'ChatGPT测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '', 'linkai_app_code': ''} [INFO][2024-06-16 06:17:27][config.py:217] - [Config] User datas loaded. [INFO][2024-06-16 06:17:28][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-16 06:17:28][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword [WARNING][2024-06-16 06:17:28][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub' [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role [INFO][2024-06-16 06:17:28][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd [INFO][2024-06-16 06:17:28][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为9423。 [INFO][2024-06-16 06:17:28][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-16 06:17:28][keyword.py:40] - [keyword] {} [INFO][2024-06-16 06:17:28][keyword.py:42] - [keyword] inited. [INFO][2024-06-16 06:17:28][linkai.py:35] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}} [INFO][2024-06-16 06:17:28][role.py:69] - [Role] inited [INFO][2024-06-16 06:17:28][dungeon.py:56] - [Dungeon] inited [INFO][2024-06-16 06:17:28][hello.py:38] - [Hello] inited [INFO][2024-06-16 06:17:28][finish.py:23] - [Finish] inited [INFO][2024-06-16 06:17:57][wechat_channel.py:131] - Wechat login success, user_id: @2cb1a03222ad1477d0ab813e70568eef0ea951efed1d43a3c483a3abe3daf166, nickname: Kellen

TerryZT commented 2 weeks ago

{ "channel_type": "wx", "model": "GPT-4", "open_ai_api_key": "sk-123456", "open_ai_api_base": "http://xxxx:7077/v1", "text_to_image": "dall-e-2", "voice_to_text": "openai", "text_to_voice": "openai", "proxy": "", "hot_reload": false, "single_chat_prefix": [ "bot", "@bot" ], "single_chat_reply_prefix": "[bot] ", "group_chat_prefix": [ "@bot" ], "group_name_white_list": [ "ALL_GROUP", "ChatGPT测试群2" ], "image_create_prefix": [ "画" ], "speech_recognition": true, "group_speech_recognition": false, "voice_reply_voice": false, "conversation_max_tokens": 2500, "expires_in_seconds": 3600, "character_desc": "你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。", "temperature": 0.7, "subscribe_msg": "感谢您的关注!\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。", "use_linkai": false, "linkai_api_key": "", "linkai_app_code": "" }

6vision commented 2 weeks ago

看起来配置好像没问题的,尝试排查一下: 1、使用别的微信号给扫码的微信发送 bot 你好 2、换个微信号扫码登陆再试试

wcgjoy commented 2 weeks ago

我也是这问题

CCCpan commented 4 days ago

我也有这个问题,换了几个微信号也没有反应,控制台,日志也没有任何输出变化