返回全部动态

Google Gen AI Python SDK 发布 v3.1.0

原标题:v3.1.0

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

AI 摘要

Google 发布 Gen AI Python SDK v3.1.0,新增 gemini-omni-1.2-flash 并将其设为 gemini-api video 的默认模型,同时在 Model 枚举中加入 gemini-4-carbon。该版本还为 Live API 的 ProactivityConfig 增加 proactive_video,为 Interactions 的 ThinkingLevel 增加 xhigh 思考等级,并为 Gemini Enterprise API 的 EmbedContentResponse 补充 usage_metadata(含 traffic_type)与 truncated 字段。

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

正文节选

## [3.1.0](https://github.com/googleapis/python-genai/compare/v3.0.0...v3.1.0) (2026-11-10) ### Features * Add `gemini-omni-1.2-flash` and make it the `gemini-api video` default ([8e9cce3](https://github.com/googleapis/python-genai/commit/8e9cce37cfd6d10b62e7cbd3649ec96f1d63f6a4)) * Add `proactive_video` to `ProactivityConfig` for the Live API. ([97d0678](https://github.com/googleapis/python-genai/commit/97d0678602c95caa268a819a1dffd01ce52c1580)) * Add `xhigh` thinking level to Interactions T


发布时间:2026-11-11 04:13
抓取时间:2026-11-11 04:29
来源机构:Google
阅读原文github.com