mirror of
https://github.com/NikkeTryHard/zerogravity.git
synced 2026-04-25 15:15:59 +03:00
[GH-ISSUE #34] thinking_level incorrectly injected for gemini-3-flash (400 INVALID_ARGUMENT) #29
Labels
No labels
bug
enhancement
enhancement
notice
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zerogravity#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yulin0629 on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/34
thinking_level injected for models that do not support it (gemini-3-flash)
Description
The MITM proxy injects
thinkingLevel=high includeThoughts=trueinto requests forgemini-3-flash, which does not support thethinking_levelparameter. Google API returns 400:Steps to Reproduce
gemini-3-flashthrough the proxy (e.g. from Claude Code or OpenCode)Log Evidence
Expected
The proxy should not inject
thinkingLevel/includeThoughtsfor models that do not support thinking (e.g. Flash models).Version
v1.1.9 (
ghcr.io/nikketryhard/zerogravity:v1.1.9), macOS Docker arm64.@NikkeTryHard commented on GitHub (Feb 20, 2026):
Fixed — the proxy now skips
thinkingLevel/includeThoughtsinjection entirely forgemini-3-flash. Flash does implicit thinking (Google controls it), but rejects explicitthinkingLevelconfig with 400 INVALID_ARGUMENT.Will be in the next release (v1.2.0+). Commit d70ac84.