feat: implement pausing functionality in CB

ref: N25B-350
This commit is contained in:
Storm
2026-01-06 18:08:43 +01:00
parent 867837dcc4
commit d1ad2c1549
5 changed files with 75 additions and 7 deletions

View File

@@ -286,6 +286,7 @@ class VADAgent(BaseAgent):
if msg.body == "PAUSE":
self.logger.info("Pausing VAD processing.")
self._paused.clear()
# If the robot needs to pick up speaking where it left off, do not set _reset_needed
self._reset_needed = True
elif msg.body == "RESUME":
self.logger.info("Resuming VAD processing.")