Skip to content

docs(gemini): 3.7 and 3.8 Flash map minimal, none and disable to thinking_level low - #1505

Merged
mateo-berri merged 1 commit into
mainfrom
litellm_gemini_37_38_flash_thinking_level_docs
Sep 16, 2026
Merged

mateo-berri merged 1 commit into
mainfrom
litellm_gemini_37_38_flash_thinking_level_docs

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

The Gemini 3 reasoning_effort mapping table said every Flash model maps minimal, disable and none to thinking_level: minimal. 3.7 and 3.8 Flash reject minimal (400 THINKING_LEVEL_MINIMAL), and BerriAI/litellm#41201 sends low there, driven by supports_minimal_reasoning_effort: false on their cost-map entries. This updates the tip note and the three table rows to match

Related

BerriAI/litellm#41201


Note

Low Risk
Documentation-only change to reasoning_effort mapping notes; no runtime or API behavior is modified in this PR.

Overview
Updates Gemini provider docs so Gemini 3 reasoning_effort → thinking_level behavior matches LiteLLM after #41201, especially for 3.7 and 3.8 Flash (which error on minimal).

The Gemini 3 tip now states that minimal is supported on Flash up to 3.6, while 3.7/3.8 map minimal, none, and disable to low when the model’s cost-map entry has supports_minimal_reasoning_effort: false. The Gemini 3+ mapping table rows for "minimal", "disable", and "none" are revised with the same version split and cost-map note instead of implying all Flash models use minimal.

Reviewed by Cursor Bugbot for commit 38adf0c. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 16, 2026 11:50pm UTC

Request Review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 38adf0c. Configure here.

@mateo-berri
mateo-berri merged commit 7535a7a into main Sep 16, 2026
5 checks passed
@mateo-berri
mateo-berri deleted the litellm_gemini_37_38_flash_thinking_level_docs branch September 16, 2026 23:52

This branch was previously deployed

1 inactive deployment
Preview — 38adf0ce Deployed Sep 16, 2026 by vercel[bot]
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.

1 participant