Skip to content

Conversation

@jredl-va
Copy link

@jredl-va jredl-va commented Jan 6, 2026

Gemini 3+ models require a ThoughtSignature to be preserved when echoing back function calls. Without this, the API rejects tool responses with:

Error 400: Function call is missing a thought_signature in functionCall parts.
  • This PR adds support for preserving the ThoughtSignature field through the tool call round-trip.

@vendasta/gosdks

…ing back function calls. Without this, the API rejects tool responses with:

  Error 400: Function call is missing a thought_signature in functionCall parts.
  This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance.

  This PR adds support for preserving the ThoughtSignature field through the tool call round-trip.
@jredl-va jredl-va merged commit ed87b82 into main Jan 6, 2026
163 checks passed
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.

3 participants