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)