OpenAI Realtime should push TTSTextFrame only

This commit is contained in:
Mark Backman
2025-04-30 16:25:02 -04:00
parent 82a9d7f992
commit 7e09933070

View File

@@ -24,7 +24,6 @@ from pipecat.frames.frames import (
LLMFullResponseStartFrame,
LLMMessagesAppendFrame,
LLMSetToolsFrame,
LLMTextFrame,
LLMUpdateSettingsFrame,
StartFrame,
StartInterruptionFrame,
@@ -525,7 +524,6 @@ class OpenAIRealtimeBetaLLMService(LLMService):
async def _handle_evt_audio_transcript_delta(self, evt):
if evt.delta:
await self.push_frame(LLMTextFrame(evt.delta))
await self.push_frame(TTSTextFrame(evt.delta))
async def _handle_evt_speech_started(self, evt):