Google Gen AI SDK v2.31.0
Google Gen AI SDK v2.31.0 adds the gemini-4-argon model to the Model enum and delivers multiple bug fixes across continuation handling, function declaration parsing, and transport mTLS configuration.
Why this signal matters
Release 2.31.0 of the Google Gen AI SDK introduces the gemini-4-argon model to the Model enum under features interactions. The release also includes several bug fixes: clearing continuation state and preserving prompt feedback when a continuation hop yields no candidates, resolving union type parsing issues in function declarations (issue 3060), fixing grounding metadata merging during automatic continuation in generate content and streaming, adjusting continuation streams to retry dropped hops while respecting prompt feedback and surfacing real errors, and correctly matching the mTLS endpoint with SSL contexts across transports (including plain aiohttp).
Actionable summary
Google Gen AI SDK release v2.31.0 updates the Model enum with gemini-4-argon and includes bug fixes for union type function declaration parsing, continuation stream retries and state clearing, grounding metadata merging, and mTLS transport matching.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade to Google Gen AI SDK v2.31.0 to leverage the gemini-4-argon model enum and continuation/parsing fixes.
- Verify function declarations containing union types if previously encountering parsing errors related to issue 3060.
- Test generate content and stream implementations that use automatic continuation or mTLS endpoints with aiohttp to confirm expected behavior.