Skip to content

fix(pipecat): record separate transcription finalization - #1181

Closed
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits into
mainfrom
abhi/handle-finalized-frame-6e281750
Closed

Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits into
mainfrom
abhi/handle-finalized-frame-6e281750

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

🤖 This text was AI-generated.

Pipecat 1.17 can send the last transcript before confirming its finalization in a separate frame. Turns that ended on that confirmation were missing eou.end_reason.

Match the confirmation frame by class name so both forms of transcription finalization record the same reason when they end a turn.

TranscriptionFrame(finalized=True)  -> eou.end_reason = transcription_finalized
TranscriptionFinalizedFrame()      -> eou.end_reason = transcription_finalized

> 🤖 **This text was AI-generated.**

Pipecat 1.17 can send the last transcript before confirming its
finalization in a separate frame. Turns that ended on that confirmation
were missing `eou.end_reason`.

Match the confirmation frame by class name so both forms of
transcription finalization record the same reason when they end a turn.

```
TranscriptionFrame(finalized=True)  -> eou.end_reason = transcription_finalized
TranscriptionFinalizedFrame()      -> eou.end_reason = transcription_finalized
```
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T15:40:49.897465Z a5bf1b9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant