remove:移除传统记忆模式,默认开启lpmm模式

This commit is contained in:
SengokuCola
2026-03-11 18:20:34 +08:00
parent 788de70450
commit 045bd5e183
7 changed files with 5 additions and 897 deletions

View File

@@ -942,8 +942,8 @@ class ChatHistorySummarizer:
else:
logger.warning(f"{self.log_prefix} 存储聊天历史记录到数据库失败")
# 如果配置开启,同时导入到LPMM知识库
if global_config.lpmm_knowledge.enable and global_config.experimental.lpmm_memory:
# 同时导入到LPMM知识库
if global_config.lpmm_knowledge.enable:
await self._import_to_lpmm_knowledge(
theme=theme,
summary=summary,