Skip to content

chore(js/plugins/google-genai): deprecate some imagen and veo models#5033

Open
ifielker wants to merge 2 commits intomainfrom
if-deprecateImagen
Open

chore(js/plugins/google-genai): deprecate some imagen and veo models#5033
ifielker wants to merge 2 commits intomainfrom
if-deprecateImagen

Conversation

@ifielker
Copy link
Copy Markdown
Collaborator

Checklist (if applicable):

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes several deprecated imagen and veo models from the KNOWN_MODELS registry. However, the removal of imagen models contradicts the added documentation regarding backward compatibility, as it causes these models to inherit incorrect metadata capabilities from a generic model definition. It is recommended to keep these models in the registry but filter them from discovery to maintain consistent behavior.

@ifielker ifielker requested a review from pavelgj March 31, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants