From fe5fb10ec895392dbb1b7f45a76901e7abed9a8b Mon Sep 17 00:00:00 2001 From: Wanlin Du Date: Wed, 7 Oct 2026 14:44:08 -0700 Subject: [PATCH] fix(gemini-api-cli): remove unsupported 2.5 and 1.6 models from Interactions model options and CLI examples PiperOrigin-RevId: 995367240 --- CHANGELOG.md | 20 ------------------- .../genai/_gaos/types/interactions/model.py | 8 +------- google/genai/version.py | 2 +- pyproject.toml | 2 +- 4 files changed, 3 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6861d21fd..29fa23723 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,5 @@ # Changelog -## [2.29.0](https://github.com/googleapis/python-genai/compare/v2.28.0...v2.29.0) (2026-10-07) - - -### Features - -* Support `"allowlist": "disabled"` in environment network config. ([fa4acc7](https://github.com/googleapis/python-genai/commit/fa4acc70a56fe8118914d58a0d8767d5b3c51f21)) -* Update discovery doc ([84bf19c](https://github.com/googleapis/python-genai/commit/84bf19c9394bb3cc41f56c11d125cf6e5de86e3a)) - - -### Bug Fixes - -* Only log direct AFC warning when functions are present in the config ([6e36aaa](https://github.com/googleapis/python-genai/commit/6e36aaae5b03b955de6297b71f57452cfc744ac8)) - - -### Documentation - -* Refresh docs for 2.28.0 ([618f0aa](https://github.com/googleapis/python-genai/commit/618f0aa89c7fa61be973fabfa5747fb93a21b1bf)) -* Update code samples to gemini-flash-latest, gemini-3.1-flash-lite-image, and gemini-3.8-flash-tts ([5673494](https://github.com/googleapis/python-genai/commit/5673494fdb2a5db875e0d7f68c18bb2e1029af12)) -* Update generated SDK docstring examples to use gemini-flash-latest ([28e0915](https://github.com/googleapis/python-genai/commit/28e0915b4b57607badafb3181b19c67fb7b475c9)) - ## [2.28.0](https://github.com/googleapis/python-genai/compare/v2.27.0...v2.28.0) (2026-10-02) diff --git a/google/genai/_gaos/types/interactions/model.py b/google/genai/_gaos/types/interactions/model.py index b44a638e3..7c7aa0cbf 100644 --- a/google/genai/_gaos/types/interactions/model.py +++ b/google/genai/_gaos/types/interactions/model.py @@ -24,10 +24,6 @@ Model = Union[ Literal[ - # Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets. - "gemini-2.5-flash", - # Our state-of-the-art multipurpose model, which excels at coding and complex reasoning tasks. - "gemini-2.5-pro", # Gemma 4 26B A4B IT "gemma-4-26b-a4b-it", # Gemma 4 31B IT @@ -39,7 +35,7 @@ # Latest release of Gemini Pro "gemini-pro-latest", # Our smallest and most cost effective model, built for at scale usage. - "gemini-2.5-flash-lite", + "gemini-3.5-flash-lite", # Our native image generation model, optimized for speed, flexibility, and contextual understanding. Text input and output is priced the same as 2.5 Flash. "gemini-2.5-flash-image", # Our most intelligent model built for speed, combining frontier intelligence with superior search and grounding. @@ -78,8 +74,6 @@ "lyria-3-clip-preview", # Our advanced, full-song generative model with deep compositional understanding, optimized for precise structural control and complex transitions across diverse musical styles. "lyria-3-pro-preview", - # Gemini Robotics-ER 1.6 Preview - "gemini-robotics-er-1.6-preview", # Gemini Robotics Embodied Reasoning 2 Preview "gemini-robotics-er-2-preview", # Our flagship music generation model, optimized for full-length songs with complex structural coherence. diff --git a/google/genai/version.py b/google/genai/version.py index 0bdaa49c3..aa8da3d9a 100644 --- a/google/genai/version.py +++ b/google/genai/version.py @@ -13,4 +13,4 @@ # limitations under the License. # -__version__ = '2.29.0' # x-release-please-version +__version__ = '2.28.0' # x-release-please-version diff --git a/pyproject.toml b/pyproject.toml index 20d5ee93d..d80a6a934 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools", "wheel", "twine>=6.1.0", "packaging>=24.2", "pkginfo>= [project] name = "google-genai" -version = "2.29.0" +version = "2.28.0" description = "GenAI Python SDK" readme = "README.md" license = "Apache-2.0"