rtvi: minor comment add
This commit is contained in:
@@ -400,6 +400,8 @@ class RTVIObserverParams:
|
|||||||
"""
|
"""
|
||||||
Parameters for configuring RTVI Observer behavior.
|
Parameters for configuring RTVI Observer behavior.
|
||||||
|
|
||||||
|
Protip: Set these all to `False` if the bot will talk to another bot.
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
bot_llm_enabled (bool): Indicates if the bot's LLM messages should be sent.
|
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.
|
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)
|
await self._message_queue.put(message)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
await self.send_error(f"Invalid RTVI transport message: {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):
|
async def _handle_message(self, message: RTVIMessage):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user