fix: fix test race condition

ref: N25B-301
This commit is contained in:
2025-11-25 11:21:25 +01:00
parent ef00c03ec5
commit e5949a7273
9 changed files with 25 additions and 58 deletions

View File

@@ -37,7 +37,7 @@ class TranscriptionAgent(BaseAgent):
self.speech_recognizer.load_model() # Warmup
# Start background loop
await self.add_behavior(self._transcribing_loop())
self.add_behavior(self._transcribing_loop())
self.logger.info("Finished setting up %s", self.name)

View File

@@ -93,7 +93,7 @@ class VADAgent(BaseAgent):
# Warmup/reset
await self.reset_stream()
await self.add_behavior(self._streaming_loop())
self.add_behavior(self._streaming_loop())
# Start agents dependent on the output audio fragments here
transcriber = TranscriptionAgent(audio_out_address)