fix: 添加行合并跳过bot回复的调试日志 (Task #1555)

This commit is contained in:
youpaishidifu
2026-08-18 11:28:39 +08:00
parent adfcb5e591
commit da619dd3da
+1
View File
@@ -3305,6 +3305,7 @@ class MessageMonitor:
_norm_rl = self._norm_frag(rl)
if _norm_rl and _norm_rl in _known_bot_replies:
_is_bot_reply_line = True
logger.debug(f"[ocr] 行合并跳过(bot回复): {rl[:60]!r}")
if merged_lines and not _SENT_END.search(merged_lines[-1]) \
and not _TS_START.match(rl) and not _TS_START.match(merged_lines[-1]) \
and not _is_bot_reply_line: