feat(providers): add Gemini 3.8 Flash - #7402
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKqTj3FNr4iS5jMy1gZe2D
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile SummaryThis PR adds Gemini 3.8 Flash to the Google provider catalog and promotes it as the recommended Google model.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness or security issues identified. The new model metadata conforms to existing provider contracts, supported thinking-level mappings, recommendation consumers, and generated documentation behavior.
|
| Filename | Overview |
|---|---|
| apps/sim/providers/models.ts | Adds internally consistent Gemini 3.8 Flash catalog metadata and transfers the Google recommendation marker from Gemini 3.6 Flash. |
| apps/docs/content/docs/workflows/blocks/agent.mdx | Updates the generated streamed-thinking table consistently with the new model’s Google summary-streaming behavior. |
Reviews (1): Last reviewed commit: "feat(providers): add Gemini 3.8 Flash" | Re-trigger Greptile
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
gemini-3.8-flashto the Google provider catalog and make it the recommended Google model (moved offgemini-3.6-flash)Every field was verified against Google's docs and the live Gemini API using a staging key:
idgemini-3.8-flashGET /v1beta/models+ API docscontextWindowinputTokenLimit+ OpenRoutermaxOutputTokensoutputTokenLimit+ OpenRouterinputcachedInputoutputtemperaturethinking.levelsminimalis rejected for this modelreleaseDateTwo things worth a reviewer's attention:
minimalis not a valid thinking level here. Every sibling Gemini 3.x Flash entry declares['minimal','low','medium','high'], but 3.8 Flash returnsThinking level MINIMAL is not supported for this model. Copying the sibling shape would have put a dead option in the agent-block dropdown, so this entry declares only['low','medium','high'].Not included:
gemini-3.8-flash-cyber,-preview, and-latestall return "Model is not found for api version v1beta". Adding an entry would put a permanently-failing option in the model dropdown, so it is left out until we have access.gemini-3.6-flashfor tier-1 image/file tasks. That is a curated routing choice with its own cost/quality tradeoff, so I left it alone rather than swapping it in this PR.Type of Change
Testing
Executed
gemini-3.8-flashend-to-end through Sim's own Google provider with a live key:temperature: 2.0→ correct outputthinkingLevellow/medium/high all accepted, with thinking budget scaling as expected (37 → 106 → 180 output tokens)get_weathercall through the provider tool loopAlso ran:
bun run lint,bun run type-check(clean),bun run check:audits(45/45 pass),bun run agent-stream-docs:check(up to date), and the provider/model-router test suites (256 tests pass).Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01LKqTj3FNr4iS5jMy1gZe2D