FrameLogger: it's fine to print transport messages
This commit is contained in:
@@ -15,7 +15,7 @@ from pipecat.frames.frames import (
|
|||||||
Frame,
|
Frame,
|
||||||
InputAudioRawFrame,
|
InputAudioRawFrame,
|
||||||
OutputAudioRawFrame,
|
OutputAudioRawFrame,
|
||||||
TransportMessageFrame,
|
UserSpeakingFrame,
|
||||||
)
|
)
|
||||||
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
|
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
|
||||||
|
|
||||||
@@ -36,9 +36,9 @@ class FrameLogger(FrameProcessor):
|
|||||||
color: Optional[str] = None,
|
color: Optional[str] = None,
|
||||||
ignored_frame_types: Tuple[Type[Frame], ...] = (
|
ignored_frame_types: Tuple[Type[Frame], ...] = (
|
||||||
BotSpeakingFrame,
|
BotSpeakingFrame,
|
||||||
|
UserSpeakingFrame,
|
||||||
InputAudioRawFrame,
|
InputAudioRawFrame,
|
||||||
OutputAudioRawFrame,
|
OutputAudioRawFrame,
|
||||||
TransportMessageFrame,
|
|
||||||
),
|
),
|
||||||
):
|
):
|
||||||
"""Initialize the frame logger.
|
"""Initialize the frame logger.
|
||||||
|
|||||||
Reference in New Issue
Block a user