Repository navigation
chore(deps): update dependency google-genai to v3 - #14765
Open
renovate-bot wants to merge 1 commit into
Open
renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
iennae
approved these changes
Nov 6, 2026
iennae
requested changes
Nov 6, 2026
iennae
left a comment
Contributor
There was a problem hiding this comment.
need to validate because
Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. It supports the [Gemini Developer API](https://ai.google.dev/gemini-api/docs) and [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform) APIs.
Warning
Updates to Automatic Function Calling (AFC) in upcoming SDK version: We are changing AFC behavior in the next major version. Specifically, users will not be able to invoke AFC from direct calls to Models.generate_content or its stream and async variants. Instead, users should invoke AFC from Chats modules.
from the release notes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.29.0→==3.0.0==1.7.0→==3.0.0==1.43.0→==3.0.0==1.47.0→==3.0.0==2.16.0→==3.0.0==2.12.1→==3.0.0==1.60.0→==3.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
googleapis/python-genai (google-genai)
v3.0.0Compare Source
⚠ BREAKING CHANGES
Default Gemini Developer API version is now
v1(wasv1beta) (2d0f947)v1instead ofv1beta.vertexai=True/enterprise=Trueare unaffected by this default change and continue to default tov1beta1.GOOGLE_GENAI_API_VERSION(works for both Gemini Developer API and Enterprise / Vertex AI clients when no version is set in code):api_versioninHttpOptions(takes precedence overGOOGLE_GENAI_API_VERSION):Default HTTP client is now
httpx2(washttpx), andhttpxis no longer installed by default (51285c8)httpxis no longer installed by default.httpx2is now the required dependency and default HTTP client.httpxdefault via environment variable: Becausehttpx2is installed by default, installinggoogle-genai[httpx]alone only makesimport httpxavailable; to switch the SDK's default client back tohttpxwithout code changes, both install thehttpxextra and setGOOGLE_GENAI_HTTP_CLIENT=httpx:httpxclient in code: After installinggoogle-genai[httpx], you can passhttpx.Client/httpx.AsyncClientdirectly viaHttpOptions:httpxcode tohttpx2: In most cases, updating your imports withimport httpx2 as httpxis sufficient.httpx2uses the OS certificate trust store (viatruststore/httpx2.create_ssl_context()) instead ofcertifiwhenSSL_CERT_FILEandSSL_CERT_DIRare not set.httpxvs.httpx2types matter: Package-specific objects passed inHttpOptions(client_args=..., async_client_args=...)(such asTimeout,Limits,MockTransport/BaseTransport, or customAuthsubclasses) and unwrapped transport exceptions caught fromclient.models,client.files, etc. (TimeoutException,ConnectError,HTTPError) must match the active HTTP client. (WhenGOOGLE_GENAI_HTTP_CLIENTis unset orauto, passinghttpxobjects inHttpOptionswill also auto-select thehttpxbackend ifgoogle-genai[httpx]is installed.)Features
source_texttoAudioTranscriptionConfigandSmartTranscriptionMode. (1ac3c91)Bug Fixes
Documentation
v2.34.0Compare Source
Features
Bug Fixes
v2.33.0Compare Source
Features
storetoGenerateContentConfig(Gemini Developer API only) andlabelstoLiveConnectConfig. (16a29c9)Bug Fixes
Documentation
v2.32.0Compare Source
Features
send_context_update) and types across GenAI SDKs. (364889a)fixes.openSingleValueEnumsOct2026across all SDKs (78f6d34)Bug Fixes
Any-typed fields (4c1abcc)Documentation
v2.31.0Compare Source
Features
Bug Fixes
v2.30.1Compare Source
Bug Fixes
v2.30.0Compare Source
Features
continuation_tokento the Interactionsinteraction.status_updateevent. (02db4c5)Bug Fixes
super().model_constructinInteractionmodel validator (ccd5dd3)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.