ruff formatting

This commit is contained in:
Aleix Conchillo Flaqué
2024-10-15 08:57:15 -07:00
parent 164f06415c
commit 616aa54f75

View File

@@ -364,7 +364,6 @@ class OpenAILLMServiceRealtimeBeta(LLMService):
)
)
#
# frame processing
#
@@ -643,8 +642,8 @@ class OpenAILLMServiceRealtimeBeta(LLMService):
await self._truncate_current_audio_response()
# todo: might need to guard sending these when we fully support using either openai
# turn detection of Pipecat turn detection
await self._start_interruption() # cancels this processor task
await self.push_frame(StartInterruptionFrame()) # cancels downstream tasks
await self._start_interruption() # cancels this processor task
await self.push_frame(StartInterruptionFrame()) # cancels downstream tasks
await self.push_frame(UserStartedSpeakingFrame())
async def _handle_evt_speech_stopped(self, evt):