Removing the UserEndOfTurnFrame
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user