chore: apply suggestion

Changed `add_background_task` to `add_behavior` and added extra docs.
This commit is contained in:
2025-11-22 10:28:52 +01:00
parent f8f833df64
commit 1f9926fe00
11 changed files with 24 additions and 18 deletions

View File

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