Skip to content

Commit fe5fb10

Browse files
wanlin31copybara-github
authored andcommitted
fix(gemini-api-cli): remove unsupported 2.5 and 1.6 models from Interactions model options and CLI examples
PiperOrigin-RevId: 995367240
1 parent e81ca4a commit fe5fb10

4 files changed

Lines changed: 3 additions & 29 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
# Changelog
22

3-
## [2.29.0](https://github.com/googleapis/python-genai/compare/v2.28.0...v2.29.0) (2026-10-07)
4-
5-
6-
### Features
7-
8-
* Support `"allowlist": "disabled"` in environment network config. ([fa4acc7](https://github.com/googleapis/python-genai/commit/fa4acc70a56fe8118914d58a0d8767d5b3c51f21))
9-
* Update discovery doc ([84bf19c](https://github.com/googleapis/python-genai/commit/84bf19c9394bb3cc41f56c11d125cf6e5de86e3a))
10-
11-
12-
### Bug Fixes
13-
14-
* Only log direct AFC warning when functions are present in the config ([6e36aaa](https://github.com/googleapis/python-genai/commit/6e36aaae5b03b955de6297b71f57452cfc744ac8))
15-
16-
17-
### Documentation
18-
19-
* Refresh docs for 2.28.0 ([618f0aa](https://github.com/googleapis/python-genai/commit/618f0aa89c7fa61be973fabfa5747fb93a21b1bf))
20-
* 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))
21-
* Update generated SDK docstring examples to use gemini-flash-latest ([28e0915](https://github.com/googleapis/python-genai/commit/28e0915b4b57607badafb3181b19c67fb7b475c9))
22-
233
## [2.28.0](https://github.com/googleapis/python-genai/compare/v2.27.0...v2.28.0) (2026-10-02)
244

255

‎google/genai/_gaos/types/interactions/model.py‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424

2525
Model = Union[
2626
Literal[
27-
# Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets.
28-
"gemini-2.5-flash",
29-
# Our state-of-the-art multipurpose model, which excels at coding and complex reasoning tasks.
30-
"gemini-2.5-pro",
3127
# Gemma 4 26B A4B IT
3228
"gemma-4-26b-a4b-it",
3329
# Gemma 4 31B IT
@@ -39,7 +35,7 @@
3935
# Latest release of Gemini Pro
4036
"gemini-pro-latest",
4137
# Our smallest and most cost effective model, built for at scale usage.
42-
"gemini-2.5-flash-lite",
38+
"gemini-3.5-flash-lite",
4339
# Our native image generation model, optimized for speed, flexibility, and contextual understanding. Text input and output is priced the same as 2.5 Flash.
4440
"gemini-2.5-flash-image",
4541
# Our most intelligent model built for speed, combining frontier intelligence with superior search and grounding.
@@ -78,8 +74,6 @@
7874
"lyria-3-clip-preview",
7975
# Our advanced, full-song generative model with deep compositional understanding, optimized for precise structural control and complex transitions across diverse musical styles.
8076
"lyria-3-pro-preview",
81-
# Gemini Robotics-ER 1.6 Preview
82-
"gemini-robotics-er-1.6-preview",
8377
# Gemini Robotics Embodied Reasoning 2 Preview
8478
"gemini-robotics-er-2-preview",
8579
# Our flagship music generation model, optimized for full-length songs with complex structural coherence.

‎google/genai/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
#
1515

16-
__version__ = '2.29.0' # x-release-please-version
16+
__version__ = '2.28.0' # x-release-please-version

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel", "twine>=6.1.0", "packaging>=24.2", "pkginfo>=
33

44
[project]
55
name = "google-genai"
6-
version = "2.29.0"
6+
version = "2.28.0"
77
description = "GenAI Python SDK"
88
readme = "README.md"
99
license = "Apache-2.0"

0 commit comments

Comments
 (0)