fix:修复回复目标文本为空

This commit is contained in:
SengokuCola
2025-06-08 17:44:15 +08:00
parent 4f7285d468
commit cbedf10cfd
3 changed files with 8 additions and 5 deletions

View File

@@ -106,7 +106,8 @@ class HeartFCSender:
and not message.is_private_message()
and message.reply.processed_plain_text != "[System Trigger Context]"
):
message.set_reply(message.reply)
# message.set_reply(message.reply)
message.set_reply()
logger.debug(f"[{chat_id}] 应用 set_reply 逻辑: {message.processed_plain_text[:20]}...")
await message.process()

View File

@@ -64,7 +64,7 @@ class ChattingInfoProcessor(BaseProcessor):
obs_info = ObsInfo()
# 改为异步任务,不阻塞主流程
asyncio.create_task(self.chat_compress(obs))
# asyncio.create_task(self.chat_compress(obs))
# 设置说话消息
if hasattr(obs, "talking_message_str"):