Skip to content

feat(provider/google): add gemini-3.5-flash#15435

Merged
felixarntz merged 7 commits into
mainfrom
fa/add-gemini-3.5-flash
May 19, 2026
Merged

feat(provider/google): add gemini-3.5-flash#15435
felixarntz merged 7 commits into
mainfrom
fa/add-gemini-3.5-flash

Conversation

@felixarntz
Copy link
Copy Markdown
Collaborator

Background

Google just released the gemini-3.5-flash model. Adding the model ID enables type-safe usage through the google, google-vertex, and gateway providers.

Summary

  • Add gemini-3.5-flash to the google, google.interactions, google-vertex, and gateway model ID unions.
  • Add docs entries for the model in the Google and Google Vertex provider pages.
  • Add generate-text and stream-text examples (including google.interactions variants) and update existing examples to use the new model.

Manual Verification

Run the new examples.

Checklist

  • All commits are signed (PRs with unsigned commits cannot be merged)
  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

@felixarntz felixarntz enabled auto-merge (squash) May 19, 2026 17:52
@felixarntz felixarntz merged commit 546cefe into main May 19, 2026
49 checks passed
@felixarntz felixarntz deleted the fa/add-gemini-3.5-flash branch May 19, 2026 17:52
felixarntz added a commit that referenced this pull request May 19, 2026
## Background

Backport of #15435 to the AI SDK v6 branch.

## Checklist

- [x] All commits are signed (PRs with unsigned commits cannot be
merged)
- [ ] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] I have reviewed this pull request (self-review)
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Published in:

Package Version
ai 7.0.0-canary.145 github npm
@ai-sdk/angular 3.0.0-canary.145 github npm
@ai-sdk/gateway 4.0.0-canary.86 github npm
@ai-sdk/google 4.0.0-canary.68 github npm
@ai-sdk/google-vertex 5.0.0-canary.87 github npm
@ai-sdk/langchain 3.0.0-canary.145 github npm
@ai-sdk/llamaindex 3.0.0-canary.145 github npm
@ai-sdk/otel 1.0.0-canary.91 github npm
@ai-sdk/react 4.0.0-canary.146 github npm
@ai-sdk/rsc 3.0.0-canary.146 github npm
@ai-sdk/svelte 5.0.0-canary.145 github npm
@ai-sdk/vue 4.0.0-canary.145 github npm
@ai-sdk/workflow 1.0.0-canary.62 github npm

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.

2 participants