Gemini 3 tool calls auto-injected with signature validator on replay
@ai-sdk/google@3.0.80
Patch Changes
-
f62ffe0: fix(google): auto-inject
skip_thought_signature_validatorfor Gemini 3 tool-call replays without a signatureGemini 3 models reject requests when an assistant
functionCallpart lacks athoughtSignaturewith HTTP 400"Function call is missing a thought_signature in functionCall parts."This is easy to hit when application code persists/serializes messages and dropsproviderOptions.google.thoughtSignature(custom DB schemas,useChatserver routes that rebuild messages, synthetic tool-call injection).The provider now detects this case (Gemini 3 model + missing signature under
google,googleVertex, andvertexnamespaces) and injects the documentedskip_thought_signature_validatorsentinel into the outboundfunctionCall, plus surfaces a one-shot warning per request listing the affected tool names so the developer can find and fix the upstream serialization. Non-Gemini-3 models are unaffected, and real signatures take precedence when present.
Fetched May 27, 2026
