rtvi: minor comment add

This commit is contained in:
vipyne
2025-06-20 11:12:40 -05:00
parent 8c6a441064
commit 5d67006121

View File

@@ -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: