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.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
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).
可执行摘要
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 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- 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.