You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looked at the affected files — removed both deprecated models from the SDK type union and GeminiModels array, updated the next-image template to gemini-2.5-flash-image, and cleaned up the test blacklist.
Approach: 1. Clone and run pnpm install. 2. Use ripgrep to find all occurrences of gemini-2.0-flash-preview-image-generation and gemini-2.5-flash-image-preview across the monorepo. 3. Remove entries from router model registry/pricing tables, SDK model enums/types/exports, and any docs/MDX files. 4. Upda
I found the deprecated Gemini image model IDs still present on current master. I am submitting a focused fix that removes the retired IDs from the SDK model list/test skip list and updates the Next image template to use gemini-2.5-flash-image.
I am removing the two retired Gemini image model IDs from the SDK/router-facing supported model list, updating the image template to use the stable gemini-2.5-flash-image model, and cleaning the smoke-test blacklist so it no longer references a removed model.
Planning to remove gemini-2.0-flash-preview-image-generation and gemini-2.5-flash-image-preview from the GeminiModel type, GeminiModels array, and update the next-image template routes to use the GA model gemini-2.5-flash-image.
I am submitting a focused cleanup for the remaining retired Gemini image model references on current master: remove both deprecated IDs from the TypeScript SDK supported model type/list, remove the retired generateText blacklist entry, and update the next-image Google generate/edit routes to use gemini-2.5-flash-image. I will keep the diff limited to those four files and include rg plus type-check/build evidence.
Submitted PR #801 for this focused Gemini cleanup: #801
Scope is limited to removing retired Gemini image model IDs from the TypeScript SDK supported model list, cleaning the related smoke-test blacklist entry, and updating the Next image template Google generate/edit routes to use the stable model.
Verification is listed in the PR body, including rg for retired IDs, SDK type-check/build, Prettier check, and a template TypeScript check.
Activity
Trynax commentedon Oct 28, 2025
/attempt #634
0xOlivanode commentedon Dec 2, 2025
Hey @sragss please could you assign this issue to me?
fix: remove deprecated gemini-2.0-flash-preview-image-generation and …
fix: remove deprecated gemini-2.0-flash-preview-image-generation and …
fix: remove deprecated Gemini preview image models
285729101 commentedon Feb 18, 2026
Addressed this in #720 — removed the deprecated preview image models and updated the defaults to their stable replacements.
fix(gemini): remove deprecated Gemini preview models, update to stabl…
Remove deprecated Gemini preview image models
fix: remove deprecated Gemini image generation models
fix: remove deprecated Gemini image generation models
jaysu66 commentedon Apr 7, 2026
Looked at the affected files — removed both deprecated models from the SDK type union and
GeminiModelsarray, updated the next-image template togemini-2.5-flash-image, and cleaned up the test blacklist./attempt #634
ledgerpilot commentedon Apr 8, 2026
/attempt #634
shogun444 commentedon Apr 10, 2026
hello @sragss,
can i please work on this issue?
fix: remove deprecated Gemini models (fixes Merit-Systems#634)
Remove deprecated Gemini models
denishpt commentedon Apr 23, 2026
Submitted a fix in PR #774.
Approach: 1. Clone and run
pnpm install. 2. Use ripgrep to find all occurrences ofgemini-2.0-flash-preview-image-generationandgemini-2.5-flash-image-previewacross the monorepo. 3. Remove entries from router model registry/pricing tables, SDK model enums/types/exports, and any docs/MDX files. 4. UpdaChanges:
packages/sdk/ts/src/supported-models/chat/gemini.ts,packages/tests/provider-smoke/gemini-generate-text.test.ts,templates/next-image/src/app/api/edit-image/google.ts,templates/next-image/src/app/api/generate-image/google.tsgrantf04 commentedon May 9, 2026
/attempt #634
I found the deprecated Gemini image model IDs still present on current master. I am submitting a focused fix that removes the retired IDs from the SDK model list/test skip list and updates the Next image template to use
gemini-2.5-flash-image.clawdvader commentedon May 11, 2026
/attempt #634
I am removing the two retired Gemini image model IDs from the SDK/router-facing supported model list, updating the image template to use the stable
gemini-2.5-flash-imagemodel, and cleaning the smoke-test blacklist so it no longer references a removed model.LogicLeapLtd commentedon May 12, 2026
/attempt #634
Planning to remove
gemini-2.0-flash-preview-image-generationandgemini-2.5-flash-image-previewfrom the GeminiModel type, GeminiModels array, and update the next-image template routes to use the GA modelgemini-2.5-flash-image.richboyneedcash commentedon May 12, 2026
/attempt #634
I am submitting a focused cleanup for the remaining retired Gemini image model references on current master: remove both deprecated IDs from the TypeScript SDK supported model type/list, remove the retired generateText blacklist entry, and update the next-image Google generate/edit routes to use
gemini-2.5-flash-image. I will keep the diff limited to those four files and includergplus type-check/build evidence.richboyneedcash commentedon May 13, 2026
Submitted PR #801 for this focused Gemini cleanup: #801
Scope is limited to removing retired Gemini image model IDs from the TypeScript SDK supported model list, cleaning the related smoke-test blacklist entry, and updating the Next image template Google generate/edit routes to use the stable model.
Verification is listed in the PR body, including
rgfor retired IDs, SDK type-check/build, Prettier check, and a template TypeScript check.