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
`packages/typescript/ai-gemini/src/model-meta.ts` carries model entries that no longer appear in Google's published list (https://ai.google.dev/gemini-api/docs/models). The most-recently-added gap (`gemini-3.5-flash`) was already addressed by #610. This issue covers the opposite side of the freshness audit: removing retired ids and migrating workspace consumers off them.
Image variants (`gemini-2.0-flash-preview-image-generation` retired; `imagen-4.0-*` variants vs Google's headline `imagen`)
Live audio (`gemini-2.5-flash-native-audio-preview-12-2025` is newer than the commented-out 09-2025 variant)
Veo video models (`VEO_3` / `VEO_3_FAST` / `VEO_2` not in current docs)
Embedding (`gemini-embedding-2` is new; repo has no embedding adapter)
Scope this PR's call.
Acceptance
`ai-gemini/model-meta.ts` text/chat entries reflect Google's current published list — retired entries gone.
Stable `gemini-3.1-flash-lite` added alongside the existing preview variant.
All workspace consumers of removed ids migrated to current ids.
All affected tests still pass.
`GEMINI_COMBINED_TOOLS_AND_SCHEMA_MODELS` updated to drop retired ids.
Context
Surfaced while adding Gemini to the structured-output streaming demo in #605. Filed separately because (a) the routing work in #605 doesn't depend on which ids exist, just the set-membership check; (b) the cascading consumer migration is its own focused review; (c) `gemini-3.5-flash` (the most-needed addition) is already covered by #610.
`packages/typescript/ai-gemini/src/model-meta.ts` carries model entries that no longer appear in Google's published list (https://ai.google.dev/gemini-api/docs/models). The most-recently-added gap (`gemini-3.5-flash`) was already addressed by #610. This issue covers the opposite side of the freshness audit: removing retired ids and migrating workspace consumers off them.
Authoritative sources
In this repo but not in Google's current docs (candidates for removal)
Also worth adding: the stable `gemini-3.1-flash-lite` (current repo only has the `-preview` variant).
Cascading workspace consumers to migrate
Removing the retired ids breaks consumers that hardcode them. Each needs to be moved to a current id (e.g. `gemini-2.5-flash` as the default):
Out-of-scope-but-worth-checking-in-the-same-pass
Equivalent drift likely affects sibling categories:
Scope this PR's call.
Acceptance
Context
Surfaced while adding Gemini to the structured-output streaming demo in #605. Filed separately because (a) the routing work in #605 doesn't depend on which ids exist, just the set-membership check; (b) the cascading consumer migration is its own focused review; (c) `gemini-3.5-flash` (the most-needed addition) is already covered by #610.