Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拉人进群前问答正常,拉人进群后触发欢迎语后问答失效,拉的人昵称:A #2384

Open
2 tasks done
shadowlkx opened this issue Nov 15, 2024 · 0 comments

Comments

@shadowlkx
Copy link

前置确认

  • 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在FAQS中也未找到类似问题。

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

  • 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue

操作系统类型?

Linux

运行的python版本是?

python 3.7

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

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

将固定人员,拉入群后,问答就会失效,所拉人昵称:A

问题描述 😯

问答正常状态下,拉固定用户进群后,触发欢迎语后,再进行问答,无反应。

终端日志 📒

[DEBUG][2024-11-15 21:09:55][wechat_channel.py:201] - [WX]receive note msg: "Kikilv()"邀请"A"加入了群聊
[DEBUG][2024-11-15 21:09:55][wechat_channel.py:208] - [WX]receive group msg: None
[DEBUG][2024-11-15 21:09:55][chat_channel.py:345] - [chat_channel] consume context: Context(type=JOIN_GROUP, content="Kikilv()"邀请"A"加入了群聊, kwargs={'isgroup': True, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7fbaf2c8fc70>, 'no_need_at': False, 'origin_ctype': <ContextType.JOIN_GROUP: 20>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@1aef8d64196f6865b125864085879bf636e8c99f0e75dc09c9d71d5b06eb152b', 'receiver': '@@8dfe3801fa6a7eb1b990127d3e92882478fa33aeb644db3ed21753f9ea287771'})
[DEBUG][2024-11-15 21:09:55][chat_channel.py:168] - [chat_channel] ready to handle context: Context(type=JOIN_GROUP, content="Kikilv()"邀请"A"加入了群聊, kwargs={'isgroup': True, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7fbaf2c8fc70>, 'no_need_at': False, 'origin_ctype': <ContextType.JOIN_GROUP: 20>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@1aef8d64196f6865b125864085879bf636e8c99f0e75dc09c9d71d5b06eb152b', 'receiver': '@@8dfe3801fa6a7eb1b990127d3e92882478fa33aeb644db3ed21753f9ea287771'})
[DEBUG][2024-11-15 21:09:55][plugin_manager.py:189] - Plugin GODCMD triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-11-15 21:09:55][plugin_manager.py:189] - Plugin KEYWORD triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-11-15 21:09:55][plugin_manager.py:189] - Plugin LINKAI triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-11-15 21:09:55][plugin_manager.py:189] - Plugin ROLE triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-11-15 21:09:55][plugin_manager.py:189] - Plugin DUNGEON triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-11-15 21:09:55][plugin_manager.py:189] - Plugin HELLO triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-11-15 21:09:55][plugin_manager.py:194] - Plugin HELLO breaked event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-11-15 21:09:55][chat_channel.py:172] - [chat_channel] ready to decorate reply: Reply(type=TEXT, content=欢迎垂询!
示例:@Ai客服小五 门票多少钱?)
[DEBUG][2024-11-15 21:09:55][chat_channel.py:284] - [chat_channel] ready to send reply: Reply(type=TEXT, content=@A
欢迎垂询!
示例:@Ai客服小五 门票多少钱?), context: Context(type=JOIN_GROUP, content="Kikilv()"邀请"A"加入了群聊, kwargs={'isgroup': True, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7fbaf2c8fc70>, 'no_need_at': False, 'origin_ctype': <ContextType.JOIN_GROUP: 20>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@1aef8d64196f6865b125864085879bf636e8c99f0e75dc09c9d71d5b06eb152b', 'receiver': '@@8dfe3801fa6a7eb1b990127d3e92882478fa33aeb644db3ed21753f9ea287771'})
[DEBUG][2024-11-15 21:09:55][chat_channel.py:345] - [chat_channel] consume context: Context(type=None, content=None, kwargs={'isgroup': True, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7fbaf08e3b50>, 'no_need_at': False, 'origin_ctype': None, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@1aef8d64196f6865b125864085879bf636e8c99f0e75dc09c9d71d5b06eb152b', 'receiver': '@@8dfe3801fa6a7eb1b990127d3e92882478fa33aeb644db3ed21753f9ea287771'})
[DEBUG][2024-11-15 21:09:55][chat_channel.py:300] - Worker return success, session_id = @1aef8d64196f6865b125864085879bf636e8c99f0e75dc09c9d71d5b06eb152b
[INFO][2024-11-15 21:09:55][wechat_channel.py:223] - [WX] sendMsg=Reply(type=TEXT, content=@A
欢迎垂询!
示例:@Ai客服小五 门票多少钱?), receiver=@@8dfe3801fa6a7eb1b990127d3e92882478fa33aeb644db3ed21753f9ea287771
[DEBUG][2024-11-15 21:09:55][chat_channel.py:300] - Worker return success, session_id = @1aef8d64196f6865b125864085879bf636e8c99f0e75dc09c9d71d5b06eb152b
[INFO][2024-11-15 21:10:02][chat_channel.py:117] - [chat_channel]receive group at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant