返回全部动态

Google Gen AI Python SDK 发布 v2.31.0

原标题:v2.31.0

Google Gen AI Python SDK Releases一手来源API 更新质量 68

AI 摘要

Google 发布 Gen AI Python SDK v2.31.0,新增 gemini-4-argon 模型枚举,并修复了函数声明联合类型解析、自动续写状态清理、grounding 元数据合并、续写流重试以及 mTLS 端点匹配等多个问题。此次更新主要提升 SDK 在生成内容与流式场景下的稳定性与兼容性。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## [2.31.0](https://github.com/googleapis/python-genai/compare/v2.30.1...v2.31.0) (2026-10-14) ### Features * **interactions:** Add gemini-4-argon to Model enum ([8554b07](https://github.com/googleapis/python-genai/commit/8554b07d0025e19361b7a10a6384cc143f3a8ea9)) ### Bug Fixes * Clear continuation state and preserve prompt feedback when continuation hop returns no candidates ([a0d809c](https://github.com/googleapis/python-genai/commit/a0d809cd838ec02938c1646c47cc3ece2761fc09)) * Fix the f


发布时间:2026-10-15 07:27
抓取时间:2026-10-15 07:33
来源机构:Google
阅读原文github.com