IdentityFilter

class pipecat.processors.filters.identity_filter.IdentityFilter(**kwargs)[source]

Bases: FrameProcessor

A pass-through filter that forwards all frames without modification.

This filter acts as a transparent passthrough, allowing all frames to flow through unchanged. It can be useful when testing ParallelPipeline to create pipelines that pass through frames (no frames should be repeated).

async process_frame(frame, direction)[source]

Process an incoming frame by passing it through unchanged.

Parameters:
  • frame (Frame)

  • direction (FrameDirection)