Skip to content

Conversation

@continue
Copy link
Contributor

@continue continue bot commented Oct 17, 2025

Summary

This PR removes the deprecated Gemini 2.5 Pro Experimental model (gemini-2.5-pro-exp-03-25) from the codebase.

Root Cause

Google has deprecated the experimental Gemini 2.5 Pro model endpoint (gemini-2.5-pro-exp-03-25). This model is no longer available through the Google Generative AI API, causing 404 errors for users trying to access it.

Changes Made

  • Removed gemini-2.5-pro-exp-03-25 from Gemini provider model list (packages/llm-info/src/providers/gemini.ts)
  • Removed gemini25ProExp configuration from GUI models list (gui/src/pages/AddNewModel/configs/models.ts)
  • Updated VSCode config schema to exclude deprecated model (extensions/vscode/config_schema.json)
  • Updated VertexAI provider to remove deprecated model (packages/llm-info/src/providers/vertexai.ts)

Migration Path

Users experiencing this issue should switch to the stable Gemini 2.5 Pro model:

  • Use gemini-2.5-pro or gemini-2.5-pro-latest instead
  • The stable version has the same capabilities as the experimental one, including the 1M token context window

Related Issue

Fixes #8176


This agent session was co-authored by bdougieyo and Continue.


Summary by cubic

Removed the deprecated Gemini 2.5 Pro Experimental model (gemini-2.5-pro-exp-03-25) across providers, GUI, and config to prevent 404s after Google’s deprecation.

  • Migration
    • Use gemini-2.5-pro or gemini-2.5-pro-latest instead.
    • These models offer the same capabilities, including the 1M token context window.

- Removed gemini-2.5-pro-exp-03-25 from Gemini provider model list
- Removed gemini25ProExp configuration from GUI models list
- Updated VSCode config schema to exclude deprecated model
- Updated VertexAI provider to remove deprecated model
- Users should use gemini-2.5-pro or gemini-2.5-pro-latest instead

Co-authored-by: Username <brian@continue.dev>
@continue continue bot requested a review from a team as a code owner October 17, 2025 18:21
@continue continue bot requested review from tingwai and removed request for a team October 17, 2025 18:21
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 17, 2025
@github-actions
Copy link

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Oct 17, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 17, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

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

This is valid but can we

@RomneyDa RomneyDa merged commit 7bc531a into main Oct 17, 2025
56 of 58 checks passed
@RomneyDa RomneyDa deleted the fix/remove-deprecated-gemini-2.5-pro-experimental branch October 17, 2025 18:47
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Oct 17, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 17, 2025
@sestinj
Copy link
Contributor

sestinj commented Oct 17, 2025

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 18, 2025

🎉 This PR is included in version 1.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 21, 2025

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 22, 2025

🎉 This PR is included in version 1.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

lgtm This PR has been approved by a maintainer released size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Cannot find the Gemini 2.5 Pro model.

4 participants