Skip to content

Conversation

@Trynax
Copy link
Contributor

@Trynax Trynax commented Oct 28, 2025

Closes #634

Removed deprecated Gemini models as requested

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

Changes:

  • Removed models from SDK type definitions and model registry
  • Updated templates to use gemini-2.5-flash-image (stable version)
  • Removed deprecated model from test blacklist

Can't find any reference in docs.

@vercel
Copy link
Contributor

vercel bot commented Oct 28, 2025

@Trynax is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@rsproule rsproule left a comment

Choose a reason for hiding this comment

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

bump the versions.

try {
const result = await generateText({
model: google('gemini-2.5-flash-image-preview'),
model: google('gemini-2.5-flash-image'),
Copy link
Contributor

Choose a reason for hiding this comment

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

if this is deprecated, why is it still working?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

if this is deprecated, why is it still working?

No idea if it's still working but according the reference in the issue, it was meant to be retired on the 31st of October.

https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-0-flash

@Trynax
Copy link
Contributor Author

Trynax commented Nov 11, 2025

bump the versions.

done.

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

2 participants