From 5d670061212a766ce6223df2b04cdcbf05866a67 Mon Sep 17 00:00:00 2001 From: vipyne Date: Fri, 20 Jun 2025 11:12:40 -0500 Subject: [PATCH] rtvi: minor comment add --- src/pipecat/processors/frameworks/rtvi.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pipecat/processors/frameworks/rtvi.py b/src/pipecat/processors/frameworks/rtvi.py index 771c5a3e2..93b939e74 100644 --- a/src/pipecat/processors/frameworks/rtvi.py +++ b/src/pipecat/processors/frameworks/rtvi.py @@ -400,6 +400,8 @@ class RTVIObserverParams: """ Parameters for configuring RTVI Observer behavior. + Protip: Set these all to `False` if the bot will talk to another bot. + Attributes: bot_llm_enabled (bool): Indicates if the bot's LLM messages should be sent. bot_tts_enabled (bool): Indicates if the bot's TTS messages should be sent. @@ -802,7 +804,7 @@ class RTVIProcessor(FrameProcessor): await self._message_queue.put(message) except ValidationError as e: await self.send_error(f"Invalid RTVI transport message: {e}") - logger.warning(f"Invalid RTVI transport message: {e}") + logger.warning(f"Invalid RTVI transport message '{transport_message}': {e}") async def _handle_message(self, message: RTVIMessage): try: