Skip to content

Commit d17bc0f

Browse files
committed
fix: context bug
1 parent 1c6e577 commit d17bc0f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kerykeion/context_serializer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def single_chart_data_to_context(chart_data: SingleChartDataModel) -> str:
430430

431431
# Active configuration
432432
lines.append(f"\nActive points: {', '.join(chart_data.active_points)}")
433-
lines.append(f"Active aspects: {', '.join([f'{a['name']} ({a['orb']}°)' for a in chart_data.active_aspects])}")
433+
lines.append(f"Active aspects: {', '.join([a['name'] + ' (' + str(a['orb']) + '°)' for a in chart_data.active_aspects])}")
434434

435435
return "\n".join(lines)
436436

@@ -497,7 +497,7 @@ def dual_chart_data_to_context(chart_data: DualChartDataModel) -> str:
497497

498498
# Active configuration
499499
lines.append(f"\nActive points: {', '.join(chart_data.active_points)}")
500-
lines.append(f"Active aspects: {', '.join([f'{a['name']} ({a['orb']}°)' for a in chart_data.active_aspects])}")
500+
lines.append(f"Active aspects: {', '.join([a['name'] + ' (' + str(a['orb']) + '°)' for a in chart_data.active_aspects])}")
501501

502502
return "\n".join(lines)
503503

0 commit comments

Comments
 (0)