diff --git a/src/pipecat/frames/frames.py b/src/pipecat/frames/frames.py index 4301c5c1c..72acf1a2a 100644 --- a/src/pipecat/frames/frames.py +++ b/src/pipecat/frames/frames.py @@ -571,15 +571,6 @@ class EmulateUserStoppedSpeakingFrame(SystemFrame): pass -@dataclass -class UserEndOfTurnFrame(SystemFrame): - """Emitted based on the Smart Turn model to indicate that the user has - completed their turn/sentence. - """ - - pass - - @dataclass class BotInterruptionFrame(SystemFrame): """Emitted by when the bot should be interrupted. This will mainly cause the diff --git a/src/pipecat/transports/base_input.py b/src/pipecat/transports/base_input.py index 767bc158c..3c7cf868d 100644 --- a/src/pipecat/transports/base_input.py +++ b/src/pipecat/transports/base_input.py @@ -25,7 +25,6 @@ from pipecat.frames.frames import ( StartInterruptionFrame, StopInterruptionFrame, SystemFrame, - UserEndOfTurnFrame, UserStartedSpeakingFrame, UserStoppedSpeakingFrame, VADParamsUpdateFrame, @@ -224,7 +223,6 @@ class BaseInputTransport(FrameProcessor): async def _handle_end_of_turn_complete(self, state: EndOfTurnState): if state == EndOfTurnState.COMPLETE: - await self.push_frame(UserEndOfTurnFrame()) await self._handle_user_interruption(UserStoppedSpeakingFrame()) async def _run_turn_analyzer(