diff --git a/src/pipecat/frames/frames.py b/src/pipecat/frames/frames.py index 6f0861a37..93ef18c42 100644 --- a/src/pipecat/frames/frames.py +++ b/src/pipecat/frames/frames.py @@ -393,6 +393,13 @@ class TransportMessageFrame(DataFrame): return f"{self.name}(message: {self.message})" +@dataclass +class InputDTMFFrame(DataFrame): + """A DTMF button input""" + + button: KeypadEntry + + # # System frames # @@ -633,13 +640,6 @@ class VisionImageRawFrame(InputImageRawFrame): return f"{self.name}(pts: {pts}, text: [{self.text}], size: {self.size}, format: {self.format})" -@dataclass -class InputDTMFFrame(Frame): - """A DTMF button input""" - - button: KeypadEntry - - # # Control frames #