Skip to content

bump retired gemini 2.0 default models to 2.5 - #2433

Open
PetrMc wants to merge 3 commits into
kagent-dev:mainfrom
PetrMc:petrmc/gemini-default-model
Open

bump retired gemini 2.0 default models to 2.5#2433
PetrMc wants to merge 3 commits into
kagent-dev:mainfrom
PetrMc:petrmc/gemini-default-model

Conversation

@PetrMc

@PetrMc PetrMc commented Aug 12, 2026

Copy link
Copy Markdown

gemini-2.0-flash and gemini-2.0-flash-lite are retired and Vertex AI returns 404 NOT_FOUND for them, hit on a fresh install with the geminiVertexAI provider and no model set in ModelConfig. Bumps the defaults to gemini-2.5-flash and gemini-2.5-flash-lite.

@PetrMc
PetrMc requested a review from a team as a code owner August 12, 2026 18:36
Copilot AI lite review requested due to automatic review settings August 12, 2026 18:36
@PetrMc
PetrMc requested a review from supreme-gg-gg as a code owner August 12, 2026 18:36
Signed-off-by: Petr McAllister <petr.mcallister@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Kagent’s Gemini defaults to avoid using retired Gemini 2.0 models (which can 404 on Vertex AI when no model is explicitly configured), aligning defaults and examples with Gemini 2.5.

Changes:

  • Bump the Go ADK runtime default Gemini model from gemini-2.0-flash to gemini-2.5-flash.
  • Update Helm chart default Gemini model to gemini-2.5-flash-lite.
  • Refresh CLI and Python sample defaults/examples to reference Gemini 2.5.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
python/samples/adk/basic/basic/agent.py Updates the sample agent’s default Gemini model to gemini-2.5-flash.
helm/kagent/values.yaml Updates the Helm default Gemini provider model to gemini-2.5-flash-lite.
go/core/cli/cmd/kagent/main.go Updates CLI init example and default --model-name to gemini-2.5-flash.
go/adk/pkg/agent/agent.go Updates the Go ADK runtime’s DefaultGeminiModel to gemini-2.5-flash (affecting both Gemini and GeminiVertexAI when unset).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread go/adk/pkg/agent/agent.go
Signed-off-by: Petr McAllister <petr.mcallister@gmail.com>
@PetrMc

PetrMc commented Aug 12, 2026

Copy link
Copy Markdown
Author

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants