Skip to content

fix: correctly reassemble streamed function-call arguments in Gemini streaming#1348

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_946860751
Jul 13, 2026
Merged

fix: correctly reassemble streamed function-call arguments in Gemini streaming#1348
copybara-service[bot] merged 1 commit into
mainfrom
test_946860751

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jul 13, 2026

Copy link
Copy Markdown

fix: correctly reassemble streamed function-call arguments in Gemini streaming

Gemini can keep willContinue=true on the last partialArgs chunk and end a
function call with a separate empty part. Flush the buffered call on that end
marker so streamed calls are not dropped or merged.

@copybara-service copybara-service Bot force-pushed the test_946860751 branch 12 times, most recently from 9e3c504 to 45c306c Compare July 13, 2026 14:22
…streaming

Gemini can keep willContinue=true on the last partialArgs chunk and end a
function call with a separate empty part. Flush the buffered call on that end
marker so streamed calls are not dropped or merged.

PiperOrigin-RevId: 947029146
@copybara-service copybara-service Bot merged commit 6bae658 into main Jul 13, 2026
@copybara-service copybara-service Bot deleted the test_946860751 branch July 13, 2026 14:29
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