fix: failing tests and warnings

ref: N25B-449
This commit is contained in:
2026-01-16 16:18:36 +01:00
parent 7f7e0c542e
commit db64eaeb0b
9 changed files with 14 additions and 35 deletions

View File

@@ -202,7 +202,7 @@ class UserInterruptAgent(BaseAgent):
goal_name = msg.body
ui_id = self._goal_reverse_map.get(goal_name)
if ui_id:
payload = {"type": "goal_update", "id": ui_id}
payload = {"type": "goal_update", "id": ui_id, "active": True}
await self._send_experiment_update(payload)
self.logger.info(f"UI Update: Goal {goal_name} started (ID: {ui_id})")
case "active_norms_update":
@@ -361,6 +361,8 @@ class UserInterruptAgent(BaseAgent):
thread = "force_next_phase"
case "reset_phase":
thread = "reset_current_phase"
case "reset_experiment":
thread = "reset_experiment"
case _:
self.logger.warning(
"Received unknown experiment control type '%s' to send to BDI Core.",