better:优化记忆检索占用

This commit is contained in:
SengokuCola
2025-11-11 00:40:43 +08:00
parent 85864c7013
commit 26784b00a5
5 changed files with 23 additions and 459 deletions

View File

@@ -390,6 +390,7 @@ class ChatHistorySummarizer:
"theme": theme,
"keywords": json.dumps(keywords, ensure_ascii=False),
"summary": summary,
"count": 0,
}
# 使用db_save存储使用start_time和chat_id作为唯一标识