zed/crates/google_ai
Arnesh 30f73707a6
google_ai: Add Gemini 3.7 Flash (#62670)
Follow-up to #62010, which added Gemini 3.6 Flash.

Google released Gemini 3.7 Flash on August 13, 2026. It keeps the 1
million token context window and the 64k output limit, and supports
thinking.

Unlike 3.5 and 3.6 Flash, it does not accept `thinking_level: MINIMAL`
(the API returns a validation error). So it exposes Low, Medium and
High, defaulting to Medium, and `disabled_thinking_level` in
`completion.rs` returns Low for it instead of Minimal when the user
turns thinking off.

The provider builds its model list from `google_ai::Model::iter()`, so
adding the enum variant is enough for it to show up in the model
dropdown.

Release Notes:

- Added Gemini 3.7 Flash to the Google AI models
2026-08-17 08:28:00 +00:00
..
src google_ai: Add Gemini 3.7 Flash (#62670) 2026-08-17 08:28:00 +00:00
Cargo.toml language_models: Remove unused language model token counting (#54177) 2026-04-22 13:39:48 +00:00
LICENSE-GPL