better:优化关系prompt,回退utils的修改

This commit is contained in:
SengokuCola
2025-07-06 23:18:12 +08:00
parent c50f2c14ad
commit 0e982ebcab
3 changed files with 82 additions and 16 deletions

View File

@@ -126,6 +126,7 @@ class RelationshipManager:
short_impression = await person_info_manager.get_value(person_id, "short_impression")
current_points = await person_info_manager.get_value(person_id, "points") or []
print(f"current_points: {current_points}")
if isinstance(current_points, str):
try:
current_points = json.loads(current_points)