From 21de8e0a35c25d137f9a1c0f032398aa9722b30f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 21 Aug 2024 17:23:44 -0700 Subject: [PATCH] transport(out): log bot started/stopped speaking --- src/pipecat/transports/base_output.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pipecat/transports/base_output.py b/src/pipecat/transports/base_output.py index 31cf2bff2..584d3bb24 100644 --- a/src/pipecat/transports/base_output.py +++ b/src/pipecat/transports/base_output.py @@ -239,10 +239,12 @@ class BaseOutputTransport(FrameProcessor): logger.exception(f"{self} error processing sink queue: {e}") async def _bot_started_speaking(self): + logger.debug("Bot started speaking") self._bot_speaking = True await self._internal_push_frame(BotStartedSpeakingFrame(), FrameDirection.UPSTREAM) async def _bot_stopped_speaking(self): + logger.debug("Bot stopped speaking") self._bot_speaking = False await self._internal_push_frame(BotStoppedSpeakingFrame(), FrameDirection.UPSTREAM)