Skip to content

feat(aggregators): add monotonic sequence on turn-stopped messages - #5701

Open
usmamalik345 wants to merge 2 commits into
pipecat-ai:mainfrom
usmamalik345:feat/turn-stopped-sequence-5640
Open

feat(aggregators): add monotonic sequence on turn-stopped messages#5701
usmamalik345 wants to merge 2 commits into
pipecat-ai:mainfrom
usmamalik345:feat/turn-stopped-sequence-5640

Conversation

@usmamalik345

Copy link
Copy Markdown

Summary

Test plan

  • uv run pytest tests/test_context_aggregators_universal.py::TestTurnStoppedSequence
  • Existing assistant/user aggregator smoke tests still pass

usamas346 and others added 2 commits September 11, 2026 16:58
Shared across the aggregator pair so transcript handlers can reorder
events even when async handlers finish out of emission order.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: a monotonic sequence number (or documented ordering) on on_user_turn_stopped / on_assistant_turn_stopped messages

2 participants