fix:微调

This commit is contained in:
SengokuCola
2025-06-09 20:39:27 +08:00
parent b4bf11b700
commit ab1436fb16
2 changed files with 2 additions and 2 deletions

View File

@@ -496,7 +496,7 @@ class MessageRetrievalScript:
logger.info(f"{len(points_to_move)} 个记忆点移动到forgotten_points") logger.info(f"{len(points_to_move)} 个记忆点移动到forgotten_points")
# 检查forgotten_points是否达到5条 # 检查forgotten_points是否达到5条
if len(forgotten_points) >= 20: if len(forgotten_points) >= 10:
print(f"forgotten_points: {forgotten_points}") print(f"forgotten_points: {forgotten_points}")
# 构建压缩总结提示词 # 构建压缩总结提示词
alias_str = ", ".join(global_config.bot.alias_names) alias_str = ", ".join(global_config.bot.alias_names)

View File

@@ -413,7 +413,7 @@ class RelationshipManager:
forgotten_points.extend(points_to_move) forgotten_points.extend(points_to_move)
# 检查forgotten_points是否达到5条 # 检查forgotten_points是否达到5条
if len(forgotten_points) >= 20: if len(forgotten_points) >= 10:
# 构建压缩总结提示词 # 构建压缩总结提示词
alias_str = ", ".join(global_config.bot.alias_names) alias_str = ", ".join(global_config.bot.alias_names)