chore: adjust 'phase_id' to 'id' for correct payload

This commit is contained in:
Björn Otgaar
2026-01-13 14:03:37 +01:00
parent af81bd8620
commit 2a94a45b34

View File

@@ -168,7 +168,7 @@ class UserInterruptAgent(BaseAgent):
new_phase_id = msg.body
self.logger.info(f"Phase transition detected: {new_phase_id}")
payload = {"type": "phase_update", "phase_id": new_phase_id}
payload = {"type": "phase_update", "id": new_phase_id}
await self._send_experiment_update(payload)
case "goal_start":