Files
pipecat/changelog/+realtime-service-mode-config.added.md
Paul Kompfner 11d7fcf174 Add changelog fragments for realtime service mode
Fragments use the +<name> prefix so they show up under "Unreleased"
without a PR-number suffix; rename to <PR#>.<type>.md before merge.
2026-05-21 11:25:29 -04:00

758 B

  • Added RealtimeServiceModeConfig and a new realtime_service_mode kwarg on LLMContextAggregatorPair, opting the pair into realtime (speech-to-speech) LLM behavior. When set, user messages are written to context when the assistant response starts rather than on user-turn-end frames — so context stays correct even when the realtime service emits no turn frames at all — and, by default, turn-end strategies stop waiting for transcripts before signalling end-of-turn, keeping transcript latency off the critical path in local-VAD-driven realtime pipelines. Both behaviors are individually controllable via the context_writes_await_turns and turns_await_transcripts fields. Cascade (non-realtime) behavior is unchanged when the kwarg is omitted.