10秒内合并

This commit is contained in:
liuwei
2025-03-14 14:30:43 +08:00
parent 589006cf5f
commit a54156fed2

View File

@@ -2,7 +2,7 @@ import re
from datetime import datetime
def compress_chat_data(chat_data_str, time_threshold=60):
def compress_chat_data(chat_data_str, time_threshold=5):
"""
压缩聊天数据,减少 token 使用,格式为时间,发信人,内容。