Skip to content

fix: remove deprecated Gemini models (fixes #634)#769

Open
tarai-dl wants to merge 2 commits intoMerit-Systems:masterfrom
tarai-dl:rn/echo-634-gemini-deprecation
Open

fix: remove deprecated Gemini models (fixes #634)#769
tarai-dl wants to merge 2 commits intoMerit-Systems:masterfrom
tarai-dl:rn/echo-634-gemini-deprecation

Conversation

@tarai-dl
Copy link
Copy Markdown

Summary

This PR removes the deprecated Gemini models as requested in issue #634:

  • gemini-2.0-flash-preview-image-generation
  • gemini-2.5-flash-image-preview

Changes Made

  1. SDK: Removed both models from the Gemini model type and array
  2. Templates: Updated next-image templates to use gemini-2.5-flash-image instead of deprecated models
  3. Tests: Added gemini-2.5-flash-image-preview to the blacklist in smoke tests

Verification

  • All deprecated model references have been removed from the codebase
  • Templates now use gemini-2.5-flash-image which is still supported
  • No documentation changes needed as the deprecated models weren't documented

Fixes #634

Add Cursor IDE rules for Echo SDK usage guidelines to all template directories.
Each template has tailored rules based on its framework (Next.js, React, CLI, etc.).

Closes Merit-Systems#636
Remove gemini-2.0-flash-preview-image-generation and gemini-2.5-flash-image-preview
from SDK, templates, and tests. Update templates to use gemini-2.5-flash-image instead.
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 18, 2026

@tarai-dl is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

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.

Handle Gemini Deprecation

1 participant