Skip to content

feat(gemini): Gemini 3.5 Flash Support#331

Open
jeanbispo wants to merge 7 commits into
Zoo-Code-Org:mainfrom
jeanbispo:feat/gemini-3.5-flash
Open

feat(gemini): Gemini 3.5 Flash Support#331
jeanbispo wants to merge 7 commits into
Zoo-Code-Org:mainfrom
jeanbispo:feat/gemini-3.5-flash

Conversation

@jeanbispo
Copy link
Copy Markdown

@jeanbispo jeanbispo commented May 26, 2026

Related GitHub Issue

Closes: #330

Description

Add Gemini 3.5 Flash Support

Test Procedure

  • Verified the model appears in the Gemini and Vertex provider model list
  • Confirmed the application runs successfully after the change

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Documentation Updates

  • No documentation updates are required.

Additional Notes

This PR only adds a new model configuration entry.

Summary by CodeRabbit

  • New Features
    • Gemini 3.5 Flash is now available platform-wide, offering image input support, prompt caching, and selectable reasoning-effort levels (default: medium).
    • Updated model provides larger context/token capacity and is available with new input/output pricing tiers.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9881dedb-1893-4873-a4ba-43cd44e5ecef

📥 Commits

Reviewing files that changed from the base of the PR and between c857546 and f413957.

📒 Files selected for processing (2)
  • packages/types/src/providers/gemini.ts
  • packages/types/src/providers/vertex.ts

📝 Walkthrough

Walkthrough

This pull request adds support for the gemini-3.5-flash model across both Gemini and Vertex AI provider type definitions. Each addition includes token limits, context window, capability flags for images and prompt caching, reasoning-effort settings, and pricing/cache read-write costs.

Changes

Gemini 3.5 Flash Model Support

Layer / File(s) Summary
Model definition additions
packages/types/src/providers/gemini.ts, packages/types/src/providers/vertex.ts
Adds gemini-3.5-flash entries to both geminiModels and vertexModels with matching token limits (max 8,000, context 32,000), capability support (images, prompt cache, reasoning effort with default "medium"), explicit supportsReasoningBudget: false, and pricing fields including cache read/write costs.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • taltas
  • navedmerchant
  • hannesrudolph
  • JamesRobert20

Poem

🐰 A flash of model hops in light,
Tokens counted, pricing tight,
From Gemini to Vertex shore,
I cache and hop and code some more,
🎉🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat(gemini): Gemini 3.5 Flash Support' clearly and concisely summarizes the primary change: adding support for the Gemini 3.5 Flash model.
Description check ✅ Passed The description includes the required 'Related GitHub Issue' section (Closes: #330), a 'Description' section explaining the changes, 'Test Procedure' detailing verification steps, and a completed pre-submission checklist with most items checked.
Linked Issues check ✅ Passed The PR successfully implements the requirement from issue #330 by adding 'gemini-3.5-flash' model entries to both Gemini and Vertex provider model lists with appropriate configuration.
Out of Scope Changes check ✅ Passed All changes are in-scope: only adds new model definition entries to geminiModels and vertexModels constants with no unrelated modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

packages/types/src/providers/gemini.ts

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

packages/types/src/providers/vertex.ts

ESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread packages/types/src/providers/gemini.ts Outdated
Comment thread packages/types/src/providers/vertex.ts Outdated
jeanbispo and others added 3 commits May 26, 2026 17:10
Co-authored-by: edelauna <54631123+edelauna@users.noreply.github.com>
Co-authored-by: edelauna <54631123+edelauna@users.noreply.github.com>
@jeanbispo jeanbispo requested a review from edelauna May 26, 2026 20:13
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.

[Gemini] Add Gemini 3.5 Flash support

2 participants