feat(provider/google): add missing model IDs#12819
Merged
Conversation
Add new model IDs to GoogleGenerativeAIModelId and GoogleGenerativeAIVideoModelId types for autocomplete support. Closes #12809 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
Hey I'm not to sure about this one @claude |
Collaborator
Author
VerificationThe added model IDs were verified against the Google AI models documentation. Since this provider has a large number of new models (18 language + 2 video), verification was done by cross-referencing the official docs rather than live API testing for each model. All models in the issue list were confirmed to exist in the Google AI API model catalog. The categorization into
Image and embedding models from the issue were already present in their respective type unions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GoogleGenerativeAIModelIdtype ingoogle-generative-ai-options.tsfor better autocomplete support, including gemini-2.0, gemini-2.5, gemini-3.1, gemma, robotics, and other new model variantsveo-3.0-generate-001,veo-3.0-fast-generate-001) toGoogleGenerativeAIVideoModelIdtype ingoogle-generative-ai-video-settings.ts@ai-sdk/googleCloses #12809
Test plan
pnpm buildsucceeds for@ai-sdk/googlepnpm testpasses all 255 tests (node + edge) for@ai-sdk/google