Skip to content

docs: update for pipecat PR #4665#880

Open
markbackman wants to merge 1 commit into
mainfrom
docs/pr-4665
Open

docs: update for pipecat PR #4665#880
markbackman wants to merge 1 commit into
mainfrom
docs/pr-4665

Conversation

@markbackman

Copy link
Copy Markdown
Contributor

Automated documentation update for pipecat PR #4665.

Changes

api-reference/server/frames/control-frames.mdx

  • Added append_to_context parameter to TTSStartedFrame documentation
  • Documents the boolean parameter (default True) that determines whether the spoken text will be appended to the LLM context
  • Explains that when True, the assistant aggregator tracks this as an assistant turn and fires turn events

api-reference/server/utilities/turn-management/turn-events.mdx

  • Added Note to on_assistant_turn_started clarifying it fires for both LLM responses and TTSSpeakFrame utterances
  • Updated Note for on_assistant_turn_stopped to explicitly mention that it fires for both LLM responses and TTSSpeakFrame utterances
  • Clarifies the timing: for TTSSpeakFrame utterances, the start event now fires when TTS begins speaking (improvement from the bug fix)

Context

PR #4665 fixed interruption handling for standalone TTSSpeakFrame(append_to_context=True) utterances. Previously:

  • on_assistant_turn_stopped didn't fire when these utterances were interrupted
  • Partially-spoken text wasn't recorded to context
  • on_assistant_turn_started fired at the end rather than the start

The fix adds an append_to_context field to TTSStartedFrame and uses it to properly track assistant turns for TTS-driven utterances.

Gaps identified

None - the changes only affect internal frame types and turn management behavior. All relevant documentation has been updated.

- Add append_to_context parameter to TTSStartedFrame documentation
- Clarify that assistant turn events work for TTSSpeakFrame utterances
- Document that on_assistant_turn_started fires when TTS begins for TTSSpeakFrame
@markbackman markbackman added auto-docs Automated documentation update from pipecat source changes pipecat labels Jun 9, 2026
@mintlify

mintlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Pipecat 🟢 Ready View Preview Jun 9, 2026, 7:14 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-docs Automated documentation update from pipecat source changes pipecat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant