Skip to content

fix: accumulate streamed function call arguments#837

Open
CREATEDCHARACTR wants to merge 2 commits into
googleapis:mainfrom
CREATEDCHARACTR:codex/rm3-go-genai-source-apply-20260701
Open

fix: accumulate streamed function call arguments#837
CREATEDCHARACTR wants to merge 2 commits into
googleapis:mainfrom
CREATEDCHARACTR:codex/rm3-go-genai-source-apply-20260701

Conversation

@CREATEDCHARACTR

Copy link
Copy Markdown

Summary

  • accumulate streamed function-call partial arguments into final Args values during GenerateContentStream and Live Session.Receive
  • merge completed streamed function calls into chat history while preserving ordered completed calls
  • add strict JSONPath mutation, conflict checks, array growth, null handling, and WillContinue cleanup helpers

Verification

  • go test --mode=unit -v ./...

Note: this PR is opened from local RM3 review evidence. It does not claim Google approval or merge.

@google-cla

google-cla Bot commented Jul 1, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@CREATEDCHARACTR CREATEDCHARACTR changed the title Accumulate streamed function call arguments fix: accumulate streamed function call arguments Jul 1, 2026
@CREATEDCHARACTR
CREATEDCHARACTR force-pushed the codex/rm3-go-genai-source-apply-20260701 branch 2 times, most recently from b03fd53 to 2881950 Compare July 1, 2026 06:13
@CREATEDCHARACTR
CREATEDCHARACTR force-pushed the codex/rm3-go-genai-source-apply-20260701 branch from 2881950 to d780e28 Compare July 1, 2026 07:02
@Sivasankaran25 Sivasankaran25 self-assigned this Jul 1, 2026
@Sivasankaran25 Sivasankaran25 added the api:gemini-api Issues related to Gemini API label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api:gemini-api Issues related to Gemini API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants