python-genai v3.1.0
minor signal 57 google-genai
python-genai 3.1.0 adds `gemini-omni-1.2-flash` and makes it the default for `gemini-api video`, adds `proactive_video` to `ProactivityConfig` for the Live API, adds an `xhigh` thinking level to Interactions `ThinkingLevel`, adds `usage_metadata` (including `traffic_type`) and `truncated` to `EmbedContentResponse` for the Gemini Enterprise API, and adds `gemini-4-carbon` and `gemini-omni-1.2-flash` to the Model enum. Documentation links move from ai.google.dev to aistudio.google.com.
Action: Upgrade to google-genai 3.1.0 and, if you rely on the video default model, verify behavior now that `gemini-omni-1.2-flash` is the `gemini-api video` default.
Migration effort: none
Entities: google-genai
Cited
python-genai v3.1.0 gh-google-genai · official · 2026-11-10