调整生成图片的逻辑

This commit is contained in:
liuwei
2025-05-16 09:02:53 +08:00
parent 40568fe038
commit f85604b5de

View File

@@ -220,7 +220,7 @@ class MessageSummaryPlugin(MessagePluginInterface):
try:
# 使用唯一文件名并指定完整路径
timestamp = int(time.time())
output_filename = f"summary_{group_id}_{timestamp}.png"
output_filename = f"summary_{timestamp}.png"
output_dir = Path(os.path.dirname(os.path.abspath(__file__)), "outputs")
# 确保输出目录存在