feat: add experiment log for phase transition
ref: N25B-453
This commit is contained in:
@@ -197,6 +197,7 @@ class UserInterruptAgent(BaseAgent):
|
|||||||
case "transition_phase":
|
case "transition_phase":
|
||||||
new_phase_id = msg.body
|
new_phase_id = msg.body
|
||||||
self.logger.info(f"Phase transition detected: {new_phase_id}")
|
self.logger.info(f"Phase transition detected: {new_phase_id}")
|
||||||
|
experiment_logger.observation("Transitioned to next phase.")
|
||||||
|
|
||||||
payload = {"type": "phase_update", "id": new_phase_id}
|
payload = {"type": "phase_update", "id": new_phase_id}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user