You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[06:34:46| ERROR] [llm_request.py:76]: Traceback (most recent call last):
File "/AstrBot/astrbot/core/pipeline/process_stage/method/llm_request.py", line 73, in process
async for ret in wrapper:
File "/AstrBot/astrbot/core/pipeline/stage.py", line 61, in _call_handler
ret = await ready_to_call
File "/AstrBot/data/plugins/astrbot_plugin_mnemosyne/main.py", line 32, in search_memory_and_concat
curr_cid = await self.context.conversation_manager.get_curr_conversation_id(event.unified_msg_origin)
AttributeError: 'AiocqhttpMessageEvent' object has no attribute 'context'
[06:34:57| ERROR] [llm_request.py:95]: Traceback (most recent call last):
File "/AstrBot/astrbot/core/pipeline/process_stage/method/llm_request.py", line 92, in process
async for ret in wrapper:
File "/AstrBot/astrbot/core/pipeline/stage.py", line 61, in _call_handler
ret = await ready_to_call
File "/AstrBot/data/plugins/astrbot_plugin_mnemosyne/main.py", line 83, in process_long_memory
curr_cid = await self.context.conversation_manager.get_curr_conversation_id(event.unified_msg_origin)
AttributeError: 'AiocqhttpMessageEvent' object has no attribute 'context'
发生了什么
本身在升级前存在req和resp报错故障 升级后该故障消失,随之出现AttributeError报错。并且发现该故障与直接调用命令无关,与llm大模型对话有关。但输入输出内容正常。
如何复现?
正常使用webchat和qq(部署了NapCat)进行自然语言对话都会触发该报错。
AstrBot 版本与部署方式
AstrBot版本:3.4.29
部署方式:Docker
系统:MacOS
操作系统
macOS
额外信息
[06:34:46| ERROR] [llm_request.py:76]: Traceback (most recent call last):
File "/AstrBot/astrbot/core/pipeline/process_stage/method/llm_request.py", line 73, in process
async for ret in wrapper:
File "/AstrBot/astrbot/core/pipeline/stage.py", line 61, in _call_handler
ret = await ready_to_call
File "/AstrBot/data/plugins/astrbot_plugin_mnemosyne/main.py", line 32, in search_memory_and_concat
curr_cid = await self.context.conversation_manager.get_curr_conversation_id(event.unified_msg_origin)
AttributeError: 'AiocqhttpMessageEvent' object has no attribute 'context'
[06:34:57| ERROR] [llm_request.py:95]: Traceback (most recent call last):
File "/AstrBot/astrbot/core/pipeline/process_stage/method/llm_request.py", line 92, in process
async for ret in wrapper:
File "/AstrBot/astrbot/core/pipeline/stage.py", line 61, in _call_handler
ret = await ready_to_call
File "/AstrBot/data/plugins/astrbot_plugin_mnemosyne/main.py", line 83, in process_long_memory
curr_cid = await self.context.conversation_manager.get_curr_conversation_id(event.unified_msg_origin)
AttributeError: 'AiocqhttpMessageEvent' object has no attribute 'context'
你愿意提交 PR 吗?
Code of Conduct
The text was updated successfully, but these errors were encountered: