From ab1436fb16e812ce2f590f7b7ad1202b4415cda1 Mon Sep 17 00:00:00 2001 From: SengokuCola <1026294844@qq.com> Date: Mon, 9 Jun 2025 20:39:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/message_retrieval_script.py | 2 +- src/person_info/relationship_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/message_retrieval_script.py b/scripts/message_retrieval_script.py index cc2c125e7..884925b51 100644 --- a/scripts/message_retrieval_script.py +++ b/scripts/message_retrieval_script.py @@ -496,7 +496,7 @@ class MessageRetrievalScript: logger.info(f"将 {len(points_to_move)} 个记忆点移动到forgotten_points") # 检查forgotten_points是否达到5条 - if len(forgotten_points) >= 20: + if len(forgotten_points) >= 10: print(f"forgotten_points: {forgotten_points}") # 构建压缩总结提示词 alias_str = ", ".join(global_config.bot.alias_names) diff --git a/src/person_info/relationship_manager.py b/src/person_info/relationship_manager.py index f92c17b53..558476bc0 100644 --- a/src/person_info/relationship_manager.py +++ b/src/person_info/relationship_manager.py @@ -413,7 +413,7 @@ class RelationshipManager: forgotten_points.extend(points_to_move) # 检查forgotten_points是否达到5条 - if len(forgotten_points) >= 20: + if len(forgotten_points) >= 10: # 构建压缩总结提示词 alias_str = ", ".join(global_config.bot.alias_names)