Skip to content

fix: preserve non-text output in streaming responses#1325

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_942010840
Jul 3, 2026
Merged

fix: preserve non-text output in streaming responses#1325
copybara-service[bot] merged 1 commit into
mainfrom
test_942010840

Conversation

@copybara-service

Copy link
Copy Markdown

fix: preserve non-text output in streaming responses

The streaming response aggregator only accumulated text and function-call
parts, so any other part (an image returned as inline data, server-side tool
calls/responses, etc.) was dropped from the final aggregated response when text
accompanied it. Mirror ADK Python and preserve any part that is not text or a
function call, keeping the existing exclusion of standalone thought-signature
parts.

@copybara-service copybara-service Bot force-pushed the test_942010840 branch 7 times, most recently from 07bfbdf to 8767b1c Compare July 3, 2026 15:05
The streaming response aggregator only accumulated text and function-call
parts, so any other part (an image returned as inline data, server-side tool
calls/responses, etc.) was dropped from the final aggregated response when text
accompanied it. Mirror ADK Python and preserve any part that is not text or a
function call, keeping the existing exclusion of standalone thought-signature
parts.

PiperOrigin-RevId: 942147787
@copybara-service copybara-service Bot merged commit b8be90d into main Jul 3, 2026
@copybara-service copybara-service Bot deleted the test_942010840 branch July 3, 2026 15:12
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