Skip to content

Commit ab1436f

Browse files
committed
fix:微调
1 parent b4bf11b commit ab1436f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/message_retrieval_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ async def update_person_impression_from_segment(self, person_id: str, readable_m
496496
logger.info(f"将 {len(points_to_move)} 个记忆点移动到forgotten_points")
497497

498498
# 检查forgotten_points是否达到5条
499-
if len(forgotten_points) >= 20:
499+
if len(forgotten_points) >= 10:
500500
print(f"forgotten_points: {forgotten_points}")
501501
# 构建压缩总结提示词
502502
alias_str = ", ".join(global_config.bot.alias_names)

src/person_info/relationship_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ async def update_person_impression(self, person_id, timestamp, bot_engaged_messa
413413
forgotten_points.extend(points_to_move)
414414

415415
# 检查forgotten_points是否达到5条
416-
if len(forgotten_points) >= 20:
416+
if len(forgotten_points) >= 10:
417417
# 构建压缩总结提示词
418418
alias_str = ", ".join(global_config.bot.alias_names)
419419

0 commit comments

Comments
 (0)