Skip to content

fix: stream partial chunks, then one aggregated response - #1721

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1006403297
Oct 28, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1006403297

Conversation

@copybara-service

Copy link
Copy Markdown

fix: stream partial chunks, then one aggregated response

  • Streaming now ends with one aggregated, non-partial response; read either the partial chunks or the final response, not both.
  • The aggregated response carries the finish reason, and an error code and message when the stream did not end normally.

- Streaming now ends with one aggregated, non-partial response; read either the partial chunks or the final response, not both.
- The aggregated response carries the finish reason, and an error code and message when the stream did not end normally.

PiperOrigin-RevId: 1008786956
@copybara-service
copybara-service Bot merged commit 3a4742e into main Oct 28, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_1006403297 branch October 28, 2026 10:47
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.

0 participants