diff --git a/ctl/src/mas/ctl/session/controller.py b/ctl/src/mas/ctl/session/controller.py index 8c2182fc..7a046d3f 100644 --- a/ctl/src/mas/ctl/session/controller.py +++ b/ctl/src/mas/ctl/session/controller.py @@ -222,7 +222,8 @@ def _run_user_turn( ) self._turn += 1 tid = turn_id or f"u{self._turn}" - self.display.on_user(text, turn_id=tid) + if self.display is not None: + self.display.on_user(text, turn_id=tid) on_working = getattr(self.display, "on_working", None) if callable(on_working): on_working()