types

Shared result type for user turn strategy frame processing.

class pipecat.turns.types.ProcessFrameResult(*values)[source]

Bases: Enum

Result of processing a frame in a user turn strategy.

Controls whether the strategy loop in the controller continues to the next strategy or stops early.

Parameters:
  • CONTINUE – Continue to the next strategy in the loop.

  • STOP – Stop evaluating further strategies for this frame.

CONTINUE = 'continue'
STOP = 'stop'