@google/genai
3.6.1 · 18 Nov 2026Apache-2.032.9M / weekRepositoryHomepagenpmAtom feed
3.6.1 is the newest release of 3.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 1 change to make.
Before you upgrade
- Default video model changed; set the model explicitly to keep previous behaviour.
New
- Add
proactive_videotoProactivityConfigfor the Live API. - add
xhighthinking level to Interactions ThinkingLevel - add usage_metadata (including traffic_type) and truncated to EmbedContentResponse for Gemini Enterprise API
- interactions: add gemini-4-carbon and gemini-omni-1.2-flash to Model enum
In short
1 breaking4 new
- Breaking
add
gemini-omni-1.2-flashand make it thegemini-api videodefault
Release note
Features
Add
gemini-omni-1.2-flashand make it thegemini-api videodefaultAdd
proactive_videotoProactivityConfigfor the Live API.Add
xhighthinking level to Interactions ThinkingLevelAdd usage_metadata (including traffic_type) and truncated to EmbedContentResponse for Gemini Enterprise API
interactions: add gemini-4-carbon and gemini-omni-1.2-flash to Model enum
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.