Skip to content

google_ai: Support Gemini 3.5 Flash (#57299) (cherry-pick to stable)#57392

Merged
zed-zippy[bot] merged 1 commit into
v1.3.xfrom
cherry-pick-v1.3.x-4558d14c
May 21, 2026
Merged

google_ai: Support Gemini 3.5 Flash (#57299) (cherry-pick to stable)#57392
zed-zippy[bot] merged 1 commit into
v1.3.xfrom
cherry-pick-v1.3.x-4558d14c

Conversation

@zed-zippy

@zed-zippy zed-zippy Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #57299 to stable


Implements the official upgrade
instructions

for Gemini 3.5 Flash, and adds BYOK support.

The changes about thinking_level and temperature apply to our situation,
but they are only recommendations, and we have to support older models,
so I preferred not trying to force the preferred / remove the
discouraged parameters for now.

temperature becomes optional - we don't fill in a default anymore,
since passing it is now discouraged.

This commit also adds support for thinking_level, since it is now
preferred to thinking_budget.

FunctionCall and FunctionResponse now support passing an id to
properly maintain chain-of-thought preservation and match execution IDs
across turns. When resolving incoming tool uses, the mapper prefers the
execution ID returned by Gemini, falling back to sequential naming in
other scenarios.

Release Notes:

  • Added support for Gemini 3.5 Flash in the Google AI model provider.

Implements the [official upgrade
instructions](https://ai.google.dev/gemini-api/docs/whats-new-gemini-3.5#migrate-from-3-flash-preview)
for Gemini 3.5 Flash, and adds BYOK support.

The changes about thinking_level and temperature apply to our situation,
but they are only recommendations, and we have to support older models,
so I preferred not trying to force the preferred / remove the
discouraged parameters for now.

`temperature` becomes optional - we don't fill in a default anymore,
since passing it is now discouraged.

This commit also adds support for `thinking_level`, since it is now
preferred to `thinking_budget`.

`FunctionCall` and `FunctionResponse` now support passing an `id` to
properly maintain chain-of-thought preservation and match execution IDs
across turns. When resolving incoming tool uses, the mapper prefers the
execution ID returned by Gemini, falling back to sequential naming in
other scenarios.

Release Notes:

- Added support for Gemini 3.5 Flash in the Google AI model provider.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 21, 2026
@zed-community-bot zed-community-bot Bot added the bot Pull requests authored by a bot label May 21, 2026
@zed-zippy zed-zippy Bot merged commit 2b7dcaa into v1.3.x May 21, 2026
41 checks passed
@zed-zippy zed-zippy Bot deleted the cherry-pick-v1.3.x-4558d14c branch May 21, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant