zhayujie / chatgpt-on-wechat

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

报错 #2185

Closed CorgiQixi closed 3 months ago

CorgiQixi commented 3 months ago

前置确认

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

操作系统类型?

Windows

运行的python版本是?

python 3.8

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

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

登录后出现 Traceback (most recent call last): File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup itchat.auto_login( File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback, File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login status = self.check_login() File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login if process_login_info(self, r.text): File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"] KeyError: 'wxsid'

问题描述 😯

登录后出现 Traceback (most recent call last): File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup itchat.auto_login( File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback, File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login status = self.check_login() File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login if process_login_info(self, r.text): File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"] KeyError: 'wxsid'

终端日志 📒

[ERROR][2024-07-25 09:23:48][config.py:257] - Expecting ',' delimiter: line 14 column 5 (char 302)
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 241, in drag_sensitive
    conf_dict: dict = json.loads(config)
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 14 column 5 (char 302)
[ERROR][2024-07-25 09:23:48][app.py:66] - App startup failed!
[ERROR][2024-07-25 09:23:48][app.py:67] - Expecting ',' delimiter: line 14 column 5 (char 302)
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\app.py", line 46, in run
    load_config()
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 273, in load_config
    config = Config(json.loads(config_str))
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 14 column 5 (char 302)
[ERROR][2024-07-25 09:23:53][config.py:257] - Expecting ',' delimiter: line 14 column 5 (char 302)
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 241, in drag_sensitive
    conf_dict: dict = json.loads(config)
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 14 column 5 (char 302)
[ERROR][2024-07-25 09:23:53][app.py:66] - App startup failed!
[ERROR][2024-07-25 09:23:53][app.py:67] - Expecting ',' delimiter: line 14 column 5 (char 302)
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\app.py", line 46, in run
    load_config()
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 273, in load_config
    config = Config(json.loads(config_str))
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 14 column 5 (char 302)
[ERROR][2024-07-25 09:24:00][config.py:257] - Expecting ',' delimiter: line 14 column 5 (char 302)
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 241, in drag_sensitive
    conf_dict: dict = json.loads(config)
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 14 column 5 (char 302)
[ERROR][2024-07-25 09:24:00][app.py:66] - App startup failed!
[ERROR][2024-07-25 09:24:00][app.py:67] - Expecting ',' delimiter: line 14 column 5 (char 302)
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\app.py", line 46, in run
    load_config()
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 273, in load_config
    config = Config(json.loads(config_str))
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 14 column 5 (char 302)
[INFO][2024-07-25 09:30:00][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', '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': '[鸡屁踢] ', '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 09:30:00][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 09:30:00][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 09:30:00][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 09:30:00][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 09:30:01][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin GODCMD not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin KEYWORD not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin BANWORDS not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin LINKAI not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin TOOL not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin ROLE not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin DUNGEON not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin BDUNIT not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin HELLO not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][plugin_manager.py:123] - Plugin FINISH not found in pconfig, adding to pconfig...
[INFO][2024-07-25 09:30:01][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为3087。
[INFO][2024-07-25 09:30:01][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 09:30:01][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 09:30:01][keyword.py:42] - [keyword] inited.
[WARNING][2024-07-25 09:30:01][banwords.py:54] - [Banwords] init failed, ignore or see https://github.com/zhayujie/chatgpt-on-wechat/tree/master/plugins/banwords .
[WARNING][2024-07-25 09:30:01][plugin_manager.py:150] - Failed to init BANWORDS, diabled. [Errno 2] No such file or directory: 'C:\\Users\\Lenovo\\chatgpt-on-wechat\\plugins\\banwords\\banwords.txt'
[INFO][2024-07-25 09:30:01][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-07-25 09:30:03][tool.py:28] - [tool] inited
[INFO][2024-07-25 09:30:03][role.py:69] - [Role] inited
[INFO][2024-07-25 09:30:03][dungeon.py:56] - [Dungeon] inited
[WARNING][2024-07-25 09:30:03][bdunit.py:42] - [BDunit] init failed, ignore 
[WARNING][2024-07-25 09:30:03][plugin_manager.py:150] - Failed to init BDUNIT, diabled. config.json not found
[INFO][2024-07-25 09:30:03][hello.py:38] - [Hello] inited
[INFO][2024-07-25 09:30:03][finish.py:23] - [Finish] inited
[INFO][2024-07-25 09:30:57][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', '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': '[鸡屁踢] ', '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 09:30:57][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 09:30:57][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 09:30:57][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 09:30:57][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 09:30:57][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为6521。
[INFO][2024-07-25 09:30:57][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 09:30:57][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 09:30:57][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 09:30:57][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-07-25 09:30:58][tool.py:28] - [tool] inited
[INFO][2024-07-25 09:30:58][role.py:69] - [Role] inited
[INFO][2024-07-25 09:30:58][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 09:30:58][hello.py:38] - [Hello] inited
[INFO][2024-07-25 09:30:58][finish.py:23] - [Finish] inited
[INFO][2024-07-25 09:39:52][wechat_channel.py:131] - Wechat login success, user_id: @b0892218606ed677f825fe0a430a3fc32b45c2def77e8070c376dcb2fe934bb0, nickname: 七喜是一只柯基~
[INFO][2024-07-25 09:42:12][bridge.py:68] - create bot linkai for chat
[INFO][2024-07-25 09:42:12][link_ai_bot.py:121] - [LINKAI] query=,你好, app_code=Eboje6oR, model=LinkAI-4o, file_id=None
[INFO][2024-07-25 09:42:14][link_ai_bot.py:134] - [LINKAI] reply=你好!有什么我可以帮你的吗?, total_tokens=18, res_code=None
[INFO][2024-07-25 09:42:15][wechat_channel.py:214] - [WX] sendMsg=Reply(type=TEXT, content=[鸡屁踢] 你好!有什么我可以帮你的吗?), receiver=@f5ff8f4f6e4614c316a549fd4f75774be9024014dbed5b0621cfb06d72d837ce
[INFO][2024-07-25 09:50:53][link_ai_bot.py:121] - [LINKAI] query=,柯基为什么老往窗外看?, app_code=Eboje6oR, model=LinkAI-4o, file_id=None
[INFO][2024-07-25 09:50:59][link_ai_bot.py:134] - [LINKAI] reply=柯基往窗外看的行为可能有多种原因:

1. **好奇心**:柯基是一种非常好奇和活泼的犬种,它们喜欢观察周围的环境。窗外的景象对它们来说可能非常有趣,比如行人、车辆、其他动物等。

2. **警戒**:狗天生有警戒心,它们会注意周围的动静,以确保自己的安全。窗外的动静可能引起它们的注意,让它们保持警觉。

3. **寻找刺激**:如果家里比较安静,窗外的活动可能为它们提供一些精神上的刺激和娱乐。

4. **等待主人**:如果你经常从某个方向回家,柯基可能会习惯性地在窗边等你回来。

5. **社交需求**:狗是社交动物,它们喜欢与其他狗和人互动。窗外的景象可能让它们感到不那么孤单。

6. **本能**:狗的祖先是野生动物,它们有观察和监视环境的本能,这种行为可能是这种本能的延续。

如果你的柯基看起来很焦虑或表现出其他不适的症状,你可能需要咨询兽医或动物行为专家。否则,这通常是正常的行为,不需要特别担心。, total_tokens=337, res_code=None
[INFO][2024-07-25 09:50:59][wechat_channel.py:214] - [WX] sendMsg=Reply(type=TEXT, content=[鸡屁踢] 柯基往窗外看的行为可能有多种原因:

1. **好奇心**:柯基是一种非常好奇和活泼的犬种,它们喜欢观察周围的环境。窗外的景象对它们来说可能非常有趣,比如行人、车辆、其他动物等。

2. **警戒**:狗天生有警戒心,它们会注意周围的动静,以确保自己的安全。窗外的动静可能引起它们的注意,让它们保持警觉。

3. **寻找刺激**:如果家里比较安静,窗外的活动可能为它们提供一些精神上的刺激和娱乐。

4. **等待主人**:如果你经常从某个方向回家,柯基可能会习惯性地在窗边等你回来。

5. **社交需求**:狗是社交动物,它们喜欢与其他狗和人互动。窗外的景象可能让它们感到不那么孤单。

6. **本能**:狗的祖先是野生动物,它们有观察和监视环境的本能,这种行为可能是这种本能的延续。

如果你的柯基看起来很焦虑或表现出其他不适的症状,你可能需要咨询兽医或动物行为专家。否则,这通常是正常的行为,不需要特别担心。), receiver=@f5ff8f4f6e4614c316a549fd4f75774be9024014dbed5b0621cfb06d72d837ce
[INFO][2024-07-25 17:43:02][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', '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': '[鸡屁踢] ', '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 17:43:02][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 17:43:03][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 17:43:03][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 17:43:03][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 17:43:04][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 17:43:04][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为6325。
[INFO][2024-07-25 17:43:04][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 17:43:04][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 17:43:04][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 17:43: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-07-25 17:43:06][tool.py:28] - [tool] inited
[INFO][2024-07-25 17:43:06][role.py:69] - [Role] inited
[INFO][2024-07-25 17:43:06][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 17:43:06][hello.py:38] - [Hello] inited
[INFO][2024-07-25 17:43:06][finish.py:23] - [Finish] inited
[INFO][2024-07-25 17:43:22][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', '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': '[鸡屁踢] ', '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 17:43:22][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 17:43:23][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 17:43:23][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 17:43:23][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 17:43:23][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为5674。
[INFO][2024-07-25 17:43:23][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 17:43:23][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 17:43:23][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 17:43:23][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-07-25 17:43:24][tool.py:28] - [tool] inited
[INFO][2024-07-25 17:43:24][role.py:69] - [Role] inited
[INFO][2024-07-25 17:43:24][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 17:43:24][hello.py:38] - [Hello] inited
[INFO][2024-07-25 17:43:24][finish.py:23] - [Finish] inited
[INFO][2024-07-25 17:47:19][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', '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': '[鸡屁踢] ', '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 17:47:19][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 17:47:21][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 17:47:21][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 17:47:21][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 17:47:23][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 17:47:23][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为1479。
[INFO][2024-07-25 17:47:23][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 17:47:23][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 17:47:23][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 17:47:23][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-07-25 17:47:27][tool.py:28] - [tool] inited
[INFO][2024-07-25 17:47:27][role.py:69] - [Role] inited
[INFO][2024-07-25 17:47:27][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 17:47:27][hello.py:38] - [Hello] inited
[INFO][2024-07-25 17:47:27][finish.py:23] - [Finish] inited
[INFO][2024-07-25 17:49:27][wechat_channel.py:131] - Wechat login success, user_id: @872a14906f9c6777ea1aa973af94b1cc62a0d6d5a0832bc051b0c19e3216a338, nickname: 七喜是一只柯基~
[INFO][2024-07-25 17:54:51][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', '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': '[鸡屁踢] ', '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 17:54:51][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 17:54:51][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 17:54:51][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 17:54:51][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 17:54:52][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 17:54:52][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为5610。
[INFO][2024-07-25 17:54:52][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 17:54:52][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 17:54:52][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 17:54:52][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-07-25 17:54:54][tool.py:28] - [tool] inited
[INFO][2024-07-25 17:54:54][role.py:69] - [Role] inited
[INFO][2024-07-25 17:54:54][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 17:54:54][hello.py:38] - [Hello] inited
[INFO][2024-07-25 17:54:54][finish.py:23] - [Finish] inited
[INFO][2024-07-25 17:55:24][wechat_channel.py:131] - Wechat login success, user_id: @8c2eeb578986ed7ab0d516a03294d9c3f97f9388484c98e72a675bc7801bdc7a, nickname: 踏火行歌🎵
[INFO][2024-07-25 17:56:28][bridge.py:68] - create bot linkai for chat
[INFO][2024-07-25 17:56:28][link_ai_bot.py:121] - [LINKAI] query=,柯基介绍, app_code=Eboje6oR, model=LinkAI-4o, file_id=None
[INFO][2024-07-25 17:56:42][link_ai_bot.py:134] - [LINKAI] reply=柯基犬(Corgi)是一种小型牧羊犬,原产于英国威尔士地区。柯基犬分为两个主要品种:彭布罗克威尔士柯基犬(Pembroke Welsh Corgi)和卡迪根威尔士柯基犬(Cardigan Welsh Corgi)。这两种柯基犬在外观和性格上有一些相似之处,但也有明显的区别。

### 外观特征
- **体型**: 柯基犬体型较小,身长大于身高,属于典型的矮腿长身犬种。
- **毛发**: 柯基犬有双层毛发,外层毛发较硬,内层毛发柔软。它们的毛色多样,包括红色、黑色、三色、蓝灰色等。
- **耳朵**: 彭布罗克柯基犬的耳朵较小,呈直立状;卡迪根柯基犬的耳朵较大,也呈直立状。
- **尾巴**: 彭布罗克柯基犬通常没有尾巴或尾巴非常短,这是经过选育得来的特征;卡迪根柯基犬则有较长的尾巴。

### 性格特点
- **聪明**: 柯基犬非常聪明,容易训练,能够快速学会新指令。
- **活泼**: 它们精力充沛,喜欢运动和游戏,是非常好的家庭伴侣。
- **友好**: 柯基犬通常对人友好,尤其喜欢和小孩子相处。
- **警觉**: 作为牧羊犬的后代,柯基犬对周围环境非常警觉,具备一定的看家本领。

### 饲养建议
- **运动**: 由于柯基犬精力旺盛,每天需要一定量的运动,如散步、跑步或参与各种游戏。
- **饮食**: 饲养柯基犬需要注意饮食,避免过度喂食,因为它们容易发胖。
- **护理**: 柯基犬的双层毛发需要定期梳理,特别是在换毛季节,以防止毛发打结和掉毛问题。
- **健康**: 柯基犬容易患上某些遗传性疾病,如髋关节发育不良、眼疾等,定期的兽医检查是必要的。

### 历史背景
柯基犬的历史可以追溯到数百年前,最早被用于牧羊和看护牛群。它们的矮腿和灵活性使它们能够轻松穿梭于牛群之间,咬牛的脚踝来驱赶和控制牛群。

总的来说,柯基犬是一种聪明、友好、活泼的小型犬,非常适合家庭饲养。如果你有足够的时间和精力来陪伴和照顾它们,柯基犬会是一个非常好的宠物选择。, total_tokens=701, res_code=None
[INFO][2024-07-25 17:56:42][wechat_channel.py:214] - [WX] sendMsg=Reply(type=TEXT, content=[鸡屁踢] 柯基犬(Corgi)是一种小型牧羊犬,原产于英国威尔士地区。柯基犬分为两个主要品种:彭布罗克威尔士柯基犬(Pembroke Welsh Corgi)和卡迪根威尔士柯基犬(Cardigan Welsh Corgi)。这两种柯基犬在外观和性格上有一些相似之处,但也有明显的区别。

### 外观特征
- **体型**: 柯基犬体型较小,身长大于身高,属于典型的矮腿长身犬种。
- **毛发**: 柯基犬有双层毛发,外层毛发较硬,内层毛发柔软。它们的毛色多样,包括红色、黑色、三色、蓝灰色等。
- **耳朵**: 彭布罗克柯基犬的耳朵较小,呈直立状;卡迪根柯基犬的耳朵较大,也呈直立状。
- **尾巴**: 彭布罗克柯基犬通常没有尾巴或尾巴非常短,这是经过选育得来的特征;卡迪根柯基犬则有较长的尾巴。

### 性格特点
- **聪明**: 柯基犬非常聪明,容易训练,能够快速学会新指令。
- **活泼**: 它们精力充沛,喜欢运动和游戏,是非常好的家庭伴侣。
- **友好**: 柯基犬通常对人友好,尤其喜欢和小孩子相处。
- **警觉**: 作为牧羊犬的后代,柯基犬对周围环境非常警觉,具备一定的看家本领。

### 饲养建议
- **运动**: 由于柯基犬精力旺盛,每天需要一定量的运动,如散步、跑步或参与各种游戏。
- **饮食**: 饲养柯基犬需要注意饮食,避免过度喂食,因为它们容易发胖。
- **护理**: 柯基犬的双层毛发需要定期梳理,特别是在换毛季节,以防止毛发打结和掉毛问题。
- **健康**: 柯基犬容易患上某些遗传性疾病,如髋关节发育不良、眼疾等,定期的兽医检查是必要的。

### 历史背景
柯基犬的历史可以追溯到数百年前,最早被用于牧羊和看护牛群。它们的矮腿和灵活性使它们能够轻松穿梭于牛群之间,咬牛的脚踝来驱赶和控制牛群。

总的来说,柯基犬是一种聪明、友好、活泼的小型犬,非常适合家庭饲养。如果你有足够的时间和精力来陪伴和照顾它们,柯基犬会是一个非常好的宠物选择。), receiver=@d4aa93273763d4bab1f2f3d8b4af9558beba8ecd7be40a6d6495159b5c23f57e
[INFO][2024-07-25 17:59:13][link_ai_bot.py:121] - [LINKAI] query=,你是谁, app_code=Eboje6oR, model=LinkAI-4o, file_id=None
[INFO][2024-07-25 17:59:17][link_ai_bot.py:134] - [LINKAI] reply=我是一个由OpenAI开发的人工智能助手,可以帮助回答问题、提供信息和完成各种任务。你可以问我任何问题,无论是关于知识、生活建议,还是具体的任务需求,我都会尽力提供帮助。如果有任何需要,请随时告诉我!, total_tokens=769, res_code=None
[INFO][2024-07-25 17:59:17][wechat_channel.py:214] - [WX] sendMsg=Reply(type=TEXT, content=[鸡屁踢] 我是一个由OpenAI开发的人工智能助手,可以帮助回答问题、提供信息和完成各种任务。你可以问我任何问题,无论是关于知识、生活建议,还是具体的任务需求,我都会尽力提供帮助。如果有任何需要,请随时告诉我!), receiver=@d4aa93273763d4bab1f2f3d8b4af9558beba8ecd7be40a6d6495159b5c23f57e
[ERROR][2024-07-25 18:42:10][config.py:257] - Expecting ',' delimiter: line 16 column 5 (char 325)
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 241, in drag_sensitive
    conf_dict: dict = json.loads(config)
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 16 column 5 (char 325)
[ERROR][2024-07-25 18:42:10][app.py:66] - App startup failed!
[ERROR][2024-07-25 18:42:10][app.py:67] - Expecting ',' delimiter: line 16 column 5 (char 325)
Traceback (most recent call last):
  File "app.py", line 46, in run
    load_config()
  File "C:\Users\Lenovo\chatgpt-on-wechat\config.py", line 273, in load_config
    config = Config(json.loads(config_str))
  File "C:\Program Files\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 16 column 5 (char 325)
[INFO][2024-07-25 18:43:39][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot', '鸡屁踢', '@鸡屁踢', 'GPT', 'gpt', '@GPT', '@gpt'], 'single_chat_reply_prefix': '[鸡屁踢] ', 'group_chat_prefix': ['@bot', '@鸡屁踢', '@Bot', '@GPT', '@gpt'], '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 18:43:39][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 18:43:39][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 18:43:39][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 18:43:39][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 18:43:40][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 18:43:40][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为3845。
[INFO][2024-07-25 18:43:40][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 18:43:40][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 18:43:40][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 18:43:40][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-07-25 18:43:42][tool.py:28] - [tool] inited
[INFO][2024-07-25 18:43:42][role.py:69] - [Role] inited
[INFO][2024-07-25 18:43:42][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 18:43:42][hello.py:38] - [Hello] inited
[INFO][2024-07-25 18:43:42][finish.py:23] - [Finish] inited
[ERROR][2024-07-25 18:44:14][wechat_channel.py:135] - 'wxsid'
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup
    itchat.auto_login(
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login
    self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login
    status = self.check_login()
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login
    if process_login_info(self, r.text):
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info
    core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'
[INFO][2024-07-25 18:45:24][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot', '鸡屁踢', '@鸡屁踢', 'GPT', 'gpt', '@GPT', '@gpt'], 'single_chat_reply_prefix': '[鸡屁踢] ', 'group_chat_prefix': ['@bot', '@鸡屁踢', '@Bot', '@GPT', '@gpt'], '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 18:45:24][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 18:45:24][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 18:45:24][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 18:45:24][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 18:45:25][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 18:45:25][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为4069。
[INFO][2024-07-25 18:45:25][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 18:45:25][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 18:45:25][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 18:45:25][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-07-25 18:45:26][tool.py:28] - [tool] inited
[INFO][2024-07-25 18:45:26][role.py:69] - [Role] inited
[INFO][2024-07-25 18:45:26][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 18:45:26][hello.py:38] - [Hello] inited
[INFO][2024-07-25 18:45:26][finish.py:23] - [Finish] inited
[ERROR][2024-07-25 18:46:01][wechat_channel.py:135] - 'wxsid'
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup
    itchat.auto_login(
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login
    self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login
    status = self.check_login()
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login
    if process_login_info(self, r.text):
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info
    core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'
[INFO][2024-07-25 18:47:38][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot', '鸡屁踢', '@鸡屁踢', 'GPT', 'gpt', '@GPT', '@gpt'], 'single_chat_reply_prefix': '[鸡屁踢] ', 'group_chat_prefix': ['@bot', '@鸡屁踢', '@Bot', '@GPT', '@gpt'], '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 18:47:38][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 18:47:38][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 18:47:38][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 18:47:38][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 18:47:39][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 18:47:39][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为3718。
[INFO][2024-07-25 18:47:39][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 18:47:39][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 18:47:39][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 18:47:39][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-07-25 18:47:40][tool.py:28] - [tool] inited
[INFO][2024-07-25 18:47:40][role.py:69] - [Role] inited
[INFO][2024-07-25 18:47:40][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 18:47:40][hello.py:38] - [Hello] inited
[INFO][2024-07-25 18:47:40][finish.py:23] - [Finish] inited
[ERROR][2024-07-25 18:48:06][wechat_channel.py:135] - 'wxsid'
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup
    itchat.auto_login(
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login
    self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login
    status = self.check_login()
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login
    if process_login_info(self, r.text):
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info
    core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'
[INFO][2024-07-25 18:49:07][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot', '鸡屁踢', '@鸡屁踢', 'GPT', 'gpt', '@GPT', '@gpt'], 'single_chat_reply_prefix': '[鸡屁踢] ', 'group_chat_prefix': ['@bot', '@鸡屁踢', '@Bot', '@GPT', '@gpt'], '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 18:49:07][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 18:49:07][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 18:49:07][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 18:49:07][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 18:49:08][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 18:49:08][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为5492。
[INFO][2024-07-25 18:49:08][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 18:49:08][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 18:49:08][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 18:49:08][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-07-25 18:49:10][tool.py:28] - [tool] inited
[INFO][2024-07-25 18:49:10][role.py:69] - [Role] inited
[INFO][2024-07-25 18:49:10][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 18:49:10][hello.py:38] - [Hello] inited
[INFO][2024-07-25 18:49:10][finish.py:23] - [Finish] inited
[ERROR][2024-07-25 18:49:46][wechat_channel.py:135] - 'wxsid'
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup
    itchat.auto_login(
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login
    self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login
    status = self.check_login()
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login
    if process_login_info(self, r.text):
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info
    core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'
[INFO][2024-07-25 18:55:04][config.py:295] - [INIT] load config: {'channel_type': 'wx', 'model': 'LinkAI-4o', 'open_ai_api_key': 'YOU*****KEY', 'claude_api_key': 'YOU*****KEY', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': '', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot', '鸡屁踢', '@鸡屁踢', 'GPT', 'gpt', '@GPT', '@gpt'], 'single_chat_reply_prefix': '[鸡屁踢] ', 'group_chat_prefix': ['@bot', '@鸡屁踢', '@Bot', '@GPT', '@gpt'], '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': True, 'linkai_api_key': 'Lin*****wKW', 'linkai_app_code': 'Eboje6oR'}
[INFO][2024-07-25 18:55:04][config.py:221] - [Config] User datas file not found, ignore.
[INFO][2024-07-25 18:55:04][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-07-25 18:55:04][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai
[INFO][2024-07-25 18:55:04][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role
[INFO][2024-07-25 18:55:05][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool
[INFO][2024-07-25 18:55:05][godcmd.py:194] - [Godcmd] 因未设置口令,本次的临时口令为6082。
[INFO][2024-07-25 18:55:05][godcmd.py:210] - [Godcmd] inited
[INFO][2024-07-25 18:55:05][keyword.py:40] - [keyword] {}
[INFO][2024-07-25 18:55:05][keyword.py:42] - [keyword] inited.
[INFO][2024-07-25 18:55:05][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-07-25 18:55:06][tool.py:28] - [tool] inited
[INFO][2024-07-25 18:55:06][role.py:69] - [Role] inited
[INFO][2024-07-25 18:55:06][dungeon.py:56] - [Dungeon] inited
[INFO][2024-07-25 18:55:06][hello.py:38] - [Hello] inited
[INFO][2024-07-25 18:55:06][finish.py:23] - [Finish] inited
[ERROR][2024-07-25 18:55:34][wechat_channel.py:135] - 'wxsid'
Traceback (most recent call last):
  File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup
    itchat.auto_login(
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login
    self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login
    status = self.check_login()
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login
    if process_login_info(self, r.text):
  File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info
    core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'
6vision commented 3 months ago

微信账号需要实名认证绑卡