Repository navigation
Finalize transcript entries on explicit completion markers - #56
Open
robinandeer wants to merge 1 commit into
Open
robinandeer wants to merge 1 commit into
robinandeer wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transcript entries currently become final only when a newer turn from the same speaker arrives. A completed last reply can therefore remain unfinished and stay hidden from final-only callbacks.
Honor explicit
final: truemarkers across the core SDK and React transcript hooks. For example, “Your appointment is at 3 p.m.” becomes a final entry when its completion marker arrives, without waiting for another assistant reply. Duplicate markers and late deltas cannot reopen a finalized entry; malformed markers are ignored, and older workers retain the existing next-turn fallback.Immediate completion requires the worker to emit these markers. This change uses the existing transcript IDs and
finalfield.Validation: