🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-04-25 09:40:54 +00:00
parent 78a5a622e6
commit a45b35e74c
2 changed files with 14 additions and 11 deletions

View File

@@ -78,8 +78,9 @@ class ReplyChecker:
except Exception as e:
import traceback
logger.error(f"检查回复时出错: 类型={type(e)}, 值={e}")
logger.error(traceback.format_exc()) # 打印详细的回溯信息
logger.error(traceback.format_exc()) # 打印详细的回溯信息
for msg in chat_history[-20:]:
time_str = datetime.datetime.fromtimestamp(msg["time"]).strftime("%H:%M:%S")