Merge pull request #564 from pipecat-ai/mb/bot-tts-text-urgent

Make bot-tts-text messages urgent
This commit is contained in:
Mark Backman
2024-10-08 19:26:46 -04:00
committed by GitHub

View File

@@ -512,7 +512,7 @@ class RTVIBotTTSTextProcessor(RTVIFrameProcessor):
async def _handle_text(self, frame: TextFrame):
message = RTVIBotTTSTextMessage(data=RTVITextMessageData(text=frame.text))
await self._push_transport_message(message)
await self._push_transport_message_urgent(message)
class RTVIBotTTSAudioProcessor(RTVIFrameProcessor):