refactor: merge main into config-file

ref: N25B-236
This commit is contained in:
Pim Hutting
2025-11-05 15:24:44 +01:00
13 changed files with 157 additions and 51 deletions

View File

@@ -59,6 +59,10 @@ class TranscriptionAgent(Agent):
audio = await self.audio_in_socket.recv()
audio = np.frombuffer(audio, dtype=np.float32)
speech = await self._transcribe(audio)
if not speech:
logger.info("Nothing transcribed.")
return
logger.info("Transcribed speech: %s", speech)
await self._share_transcription(speech)