We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Linux
python 3.10
Latest Release
channel
wx(个人微信, itchat)
多次发送绘图任务后,第一个可以正确响应,第二条绘图指令没有交付给插件,而是交给了最后的对话模型
[DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin ALIAS triggered by event Event.ON_HANDLE_CONTEXT [INFO][2024-11-20 09:39:19][alias.py:21] - [alias] 收到消息: 绘图@一只猪 [DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin GODCMD triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:19][godcmd.py:220] - [Godcmd] on_handle_context. content: 绘图@一只猪 [DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin KEYWORD triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:19][keyword.py:52] - [keyword] on_handle_context. content: 绘图@一只猪 [DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin ZODIAC triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin LUMATEXT2VIDEO triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin HEDRA triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin FISHAUDIO triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:19][plugin_manager.py:189] - Plugin 302AI_T2P triggered by event Event.ON_HANDLE_CONTEXT [INFO][2024-11-20 09:39:19][T2P.py:33] - [T2P] 收到消息: 绘图@一只猪 [INFO][2024-11-20 09:39:19][wechat_channel.py:222] - [WX] sendMsg=Reply(type=INFO, content=⌛️fluxpro_v10正在生成图片,请稍等... 💡提示词:一只猪), receiver=@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890 [INFO][2024-11-20 09:39:21][T2P.py:190] - [T2P] 翻译接口获取成功,英文提示词为pig [DEBUG][2024-11-20 09:39:22][wechat_channel.py:183] - [WX]receive text msg: {"MsgId": "5599149035172777696", "FromUserName": "@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890", "ToUserName": "@e3044334c59dd8c648747647189dd725b2fcf489e816d57e3cfca0eb679fa42c", "MsgType": 1, "Content": "绘图@一只猪", "Status": 3, "ImgStatus": 1, "CreateTime": 1732066761, "VoiceLength": 0, "PlayLength": 0, "FileName": "", "FileSize": "", "MediaId": "", "Url": "", "AppMsgType": 0, "StatusNotifyCode": 0, "StatusNotifyUserName": "", "RecommendInfo": {"UserName": "", "NickName": "", "QQNum": 0, "Province": "", "City": "", "Content": "", "Signature": "", "Alias": "", "Scene": 0, "VerifyFlag": 0, "AttrStatus": 0, "Sex": 0, "Ticket": "", "OpCode": 0}, "ForwardFlag": 0, "AppInfo": {"AppID": "", "Type": 0}, "HasProductId": 0, "Ticket": "", "ImgHeight": 0, "ImgWidth": 0, "SubMsgType": 0, "NewMsgId": 5599149035172777696, "OriContent": "", "EncryFileName": "", "User": {"MemberList": [], "Uin": 0, "UserName": "@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890", "NickName": "柯大师", "HeadImgUrl": "/cgi-bin/mmwebwx-bin/webwxgeticon?seq=841347294&username=@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890&skey=@crypt_40ee976b_57fd179885bb1dea84022c0d0bf596fc", "ContactFlag": 8390659, "MemberCount": 0, "RemarkName": "", "HideInputBarFlag": 0, "Sex": 1, "Signature": "知耻而后勇", "VerifyFlag": 0, "OwnerUin": 0, "PYInitial": "KDS", "PYQuanPin": "kedashi", "RemarkPYInitial": "", "RemarkPYQuanPin": "", "StarFriend": 0, "AppAccountFlag": 0, "Statues": 0, "AttrStatus": 16879717, "Province": "安徽", "City": "合肥", "Alias": "", "SnsFlag": 257, "UniFriend": 0, "DisplayName": "", "ChatRoomId": 0, "KeyWord": "", "EncryChatRoomId": "", "IsOwner": 0}, "Type": "Text", "Text": "绘图@一只猪"}, cmsg=ChatMessage: id=5599149035172777696, create_time=1732066761, ctype=TEXT, content=绘图@一只猪, from_user_id=@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890, from_user_nickname=柯大师, to_user_id=@e3044334c59dd8c648747647189dd725b2fcf489e816d57e3cfca0eb679fa42c, to_user_nickname=momo, other_user_id=@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890, other_user_nickname=柯大师, is_group=False, is_at=False, actual_user_id=None, actual_user_nickname=None, at_list=None [DEBUG][2024-11-20 09:39:22][chat_channel.py:346] - [chat_channel] consume context: Context(type=TEXT, content=绘图@一只猪, kwargs={'isgroup': False, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7f9320944a90>, 'origin_ctype': <ContextType.TEXT: 1>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890', 'receiver': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890'}) [DEBUG][2024-11-20 09:39:22][chat_channel.py:168] - [chat_channel] ready to handle context: Context(type=TEXT, content=绘图@一只猪, kwargs={'isgroup': False, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7f9320944a90>, 'origin_ctype': <ContextType.TEXT: 1>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890', 'receiver': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890'}) [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin ALIAS triggered by event Event.ON_HANDLE_CONTEXT [INFO][2024-11-20 09:39:22][alias.py:21] - [alias] 收到消息: 绘图@一只猪 [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin GODCMD triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:22][godcmd.py:220] - [Godcmd] on_handle_context. content: 绘图@一只猪 [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin KEYWORD triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:22][keyword.py:52] - [keyword] on_handle_context. content: 绘图@一只猪 [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin ZODIAC triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin LUMATEXT2VIDEO triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin HEDRA triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin FISHAUDIO triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:22][plugin_manager.py:189] - Plugin 302AI_T2P triggered by event Event.ON_HANDLE_CONTEXT [INFO][2024-11-20 09:39:22][T2P.py:33] - [T2P] 收到消息: 绘图@一只猪 [INFO][2024-11-20 09:39:22][wechat_channel.py:222] - [WX] sendMsg=Reply(type=INFO, content=⌛️fluxpro_v10正在生成图片,请稍等... 💡提示词:一只猪), receiver=@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890 [INFO][2024-11-20 09:39:24][T2P.py:190] - [T2P] 翻译接口获取成功,英文提示词为pig [DEBUG][2024-11-20 09:39:43][plugin_manager.py:189] - Plugin ROLE triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:43][plugin_manager.py:189] - Plugin DUNGEON triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:43][dungeon.py:73] - [Dungeon] on_handle_context. content: ['绘图@一只猪'] [DEBUG][2024-11-20 09:39:43][plugin_manager.py:189] - Plugin HELLO triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:43][hello.py:90] - [Hello] on_handle_context. content: 绘图@一只猪 [DEBUG][2024-11-20 09:39:43][plugin_manager.py:189] - Plugin FINISH triggered by event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:43][finish.py:30] - [Finish] on_handle_context. content: 绘图@一只猪 [DEBUG][2024-11-20 09:39:43][chat_channel.py:190] - [chat_channel] ready to handle context: type=TEXT, content=绘图@一只猪 [INFO][2024-11-20 09:39:43][chat_gpt_bot.py:57] - [CHATGPT] query=绘图@一只猪 [DEBUG][2024-11-20 09:39:43][session_manager.py:70] - prompt tokens used=268 [DEBUG][2024-11-20 09:39:43][chat_gpt_bot.py:74] - [CHATGPT] session query=[{'role': 'system', 'content': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。'}, {'role': 'user', 'content': '你好'}, {'role': 'assistant', 'content': '你好!很高兴见到你。我是一个AI助手,可以帮你解答问题、提供信息或者只是聊聊天。你有什么想问的或者想聊的话题吗?'}, {'role': 'user', 'content': '切换绘图'}, {'role': 'assistant', 'content': '我目前没有绘图功能。我是一个基于语言的AI助手,可以通过文字与你交流,但无法创建或生成图像。如果你需要绘图服务,建议你使用专门的绘图AI(如Stable Diffusion、Midjourney等)或其他绘图工具。\n\n我可以继续用文字的方式为你提供帮助,你有什么其他问题吗?'}, {'role': 'user', 'content': '绘图@一只猪'}] [DEBUG][2024-11-20 09:39:44][plugin_manager.py:194] - Plugin 302AI_T2P breaked event Event.ON_HANDLE_CONTEXT [DEBUG][2024-11-20 09:39:44][chat_channel.py:172] - [chat_channel] ready to decorate reply: Reply(type=IMAGE_URL, content=https://file.302ai.cn/gpt/imgs/20241120/9f22ff47d6bc4faf9047a38e1db5a90e.jpg) [DEBUG][2024-11-20 09:39:44][chat_channel.py:284] - [chat_channel] ready to send reply: Reply(type=IMAGE_URL, content=https://file.302ai.cn/gpt/imgs/20241120/9f22ff47d6bc4faf9047a38e1db5a90e.jpg), context: Context(type=TEXT, content=绘图@一只猪, kwargs={'isgroup': False, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7f9320944a90>, 'origin_ctype': <ContextType.TEXT: 1>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890', 'receiver': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890'}) [DEBUG][2024-11-20 09:39:44][wechat_channel.py:228] - [WX] start download image, img_url=https://file.302ai.cn/gpt/imgs/20241120/9f22ff47d6bc4faf9047a38e1db5a90e.jpg [INFO][2024-11-20 09:39:44][wechat_channel.py:235] - [WX] download image success, size=264307, img_url=https://file.302ai.cn/gpt/imgs/20241120/9f22ff47d6bc4faf9047a38e1db5a90e.jpg [INFO][2024-11-20 09:39:45][wechat_channel.py:244] - [WX] sendImage url=https://file.302ai.cn/gpt/imgs/20241120/9f22ff47d6bc4faf9047a38e1db5a90e.jpg, receiver=@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890 [DEBUG][2024-11-20 09:39:45][chat_channel.py:300] - Worker return success, session_id = @6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890 [DEBUG][2024-11-20 09:39:48][chat_gpt_bot.py:87] - [CHATGPT] new_query=[{'role': 'system', 'content': '你是基于大语言模型的AI智能助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。'}, {'role': 'user', 'content': '你好'}, {'role': 'assistant', 'content': '你好!很高兴见到你。我是一个AI助手,可以帮你解答问题、提供信息或者只是聊聊天。你有什么想问的或者想聊的话题吗?'}, {'role': 'user', 'content': '切换绘图'}, {'role': 'assistant', 'content': '我目前没有绘图功能。我是一个基于语言的AI助手,可以通过文字与你交流,但无法创建或生成图像。如果你需要绘图服务,建议你使用专门的绘图AI(如Stable Diffusion、Midjourney等)或其他绘图工具。\n\n我可以继续用文字的方式为你提供帮助,你有什么其他问题吗?'}, {'role': 'user', 'content': '绘图@一只猪'}], session_id=@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890, reply_cont=我理解你想要我绘制一只猪的图片,但很抱歉我没有绘图功能。我是一个基于语言的AI助手,只能进行文字交流。 如果你需要猪的图片,我建议你: 1. 使用专业的AI绘图工具(如Stable Diffusion、Midjourney、DALL-E等) 2. 在图片网站上搜索(如Shutterstock、Getty Images等) 3. 找专业的画师创作 我可以继续通过文字来帮助你,比如描述猪的特征,或者讨论与猪相关的话题。你想了解些什么?, completion_tokens=194 [DEBUG][2024-11-20 09:39:48][session_manager.py:81] - raw total_tokens=464, savesession tokens=449 [DEBUG][2024-11-20 09:39:48][chat_channel.py:172] - [chat_channel] ready to decorate reply: Reply(type=TEXT, content=我理解你想要我绘制一只猪的图片,但很抱歉我没有绘图功能。我是一个基于语言的AI助手,只能进行文字交流。 如果你需要猪的图片,我建议你: 1. 使用专业的AI绘图工具(如Stable Diffusion、Midjourney、DALL-E等) 2. 在图片网站上搜索(如Shutterstock、Getty Images等) 3. 找专业的画师创作 我可以继续通过文字来帮助你,比如描述猪的特征,或者讨论与猪相关的话题。你想了解些什么?) [DEBUG][2024-11-20 09:39:48][chat_channel.py:284] - [chat_channel] ready to send reply: Reply(type=TEXT, content=我理解你想要我绘制一只猪的图片,但很抱歉我没有绘图功能。我是一个基于语言的AI助手,只能进行文字交流。 如果你需要猪的图片,我建议你: 1. 使用专业的AI绘图工具(如Stable Diffusion、Midjourney、DALL-E等) 2. 在图片网站上搜索(如Shutterstock、Getty Images等) 3. 找专业的画师创作 我可以继续通过文字来帮助你,比如描述猪的特征,或者讨论与猪相关的话题。你想了解些什么?), context: Context(type=TEXT, content=绘图@一只猪, kwargs={'isgroup': False, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7f9320947610>, 'origin_ctype': <ContextType.TEXT: 1>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890', 'receiver': '@6a659118c3286a095d099b7385b78710cb8e98a9dd434993d657dd25b320f890', 'channel': <channel.wechat.wechat_channel.WechatChannel object at 0x7f93351fc090>}) [INFO][2024-11-20 09:39:48][wechat_channel.py:218] - [WX] sendMsg=Reply(type=TEXT, content=我理解你想要我绘制一只猪的图片,但很抱歉我没有绘图功能。我是一个基于语言的AI助手,只能进行文字交流。 如果你需要猪的图片,我建议你: 1. 使用专业的AI绘图工具(如Stable Diffusion、Midjourney、DALL-E等) 2. 在图片网站上搜索(如Shutterstock、Getty Images等) 3. 找专业的画师创作 我可以继续通过文字来帮助你,比如描述猪的特征,或者讨论与猪相关的话题。你想了解些什么?), receiver=@6a659118c3286a095d0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
前置确认
操作系统类型?
Linux
运行的python版本是?
python 3.10
使用的chatgpt-on-wechat版本是?
Latest Release
运行的
channel
类型是?wx(个人微信, itchat)
复现步骤 🕹
多次发送绘图任务后,第一个可以正确响应,第二条绘图指令没有交付给插件,而是交给了最后的对话模型
问题描述 😯
终端日志 📒
The text was updated successfully, but these errors were encountered: