Repository navigation
fix(flows): keep one event id across the chunks of a streamed reply - #1769
Open
copybara-service[bot] wants to merge 1 commit into
Open
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test_1008912735
branch
2 times, most recently
from
November 6, 2026 09:04
ef8e0ae to
ef9d8e6
Compare
- Partial events now carry the id of the complete event that ends their reply, so ids repeat within a stream. A client that keys events by id should replace the reply's row on each chunk. - Tool responses keep the ids their `execute_tool` trace spans record, and the last reply of each model call carries the event id its `call_llm` span records. PiperOrigin-RevId: 1008912735
copybara-service
Bot
force-pushed
the
test_1008912735
branch
from
November 6, 2026 12:05
ef9d8e6 to
48cb9bd
Compare
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.
fix(flows): keep one event id across the chunks of a streamed reply
so ids repeat within a stream. A client that keys events by id should replace
the reply's row on each chunk.
execute_tooltrace spans record, and thelast reply of each model call carries the event id its
call_llmspanrecords.