fix(model-requirements): use supported variant for gemini-3-pro#1434
Open
sk0x0y wants to merge 1 commit intocode-yeongyu:devfrom
Open
fix(model-requirements): use supported variant for gemini-3-pro#1434sk0x0y wants to merge 1 commit intocode-yeongyu:devfrom
sk0x0y wants to merge 1 commit intocode-yeongyu:devfrom
Conversation
Contributor
|
All contributors have signed the CLA. Thank you! ✅ |
Gemini 3 Pro only supports 'low' and 'high' thinking levels according to Google's official API documentation. The 'max' variant is not supported and would result in API errors. Changed variant: 'max' -> 'high' for gemini-3-pro in: - oracle agent - metis agent - momus agent - ultrabrain category - deep category - artistry category Ref: https://ai.google.dev/gemini-api/docs/thinking-mode Closes code-yeongyu#1433
7abde5f to
dfcfcfa
Compare
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
leoisadev1
pushed a commit
to leoisadev1/oh-my-opencode
that referenced
this pull request
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes
gemini-3-profallback entries that use unsupportedvariant: "max".According to Google's official Gemini API documentation, Gemini 3 Pro only supports
"low"and"high"thinking levels:Using
"max"results in API errors (400 Bad Request) when the fallback resolves to Gemini 3 Pro.Changes
Changed
variant: "max"→variant: "high"forgemini-3-proin:oraclemetismomusultrabraindeepartistryNotes
"high"is already the maximum thinking level for Gemini 3 Proclaude-opus-4-5,gpt-5.2) correctly use their respective max variants"high"= maximum reasoning for this modelCloses #1433
Summary by cubic
Replaced gemini-3-pro fallback variant "max" with "high" to match Google’s supported thinking levels. This prevents 400 errors when fallbacks resolve to Gemini 3 Pro.
Written for commit dfcfcfa. Summary will update on new commits.