Skip to content

Conversation

@sk0x0y
Copy link

@sk0x0y sk0x0y commented Feb 3, 2026

Summary

Fixes gemini-3-pro fallback entries that use unsupported variant: "max".

According to Google's official Gemini API documentation, Gemini 3 Pro only supports "low" and "high" thinking levels:

thinkingLevel (string) - Controls the model's reasoning depth.

  • Gemini 3 Pro: "low", "high" (default: "high")
  • Gemini 3 Flash: "minimal", "low", "medium", "high" (default: "high")

Using "max" results in API errors (400 Bad Request) when the fallback resolves to Gemini 3 Pro.

Changes

Changed variant: "max"variant: "high" for gemini-3-pro in:

Type Name
Agent oracle
Agent metis
Agent momus
Category ultrabrain
Category deep
Category artistry

Notes

  • "high" is already the maximum thinking level for Gemini 3 Pro
  • Other models (claude-opus-4-5, gpt-5.2) correctly use their respective max variants
  • No behavioral change since "high" = maximum reasoning for this model

Closes #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.

  • Bug Fixes
    • Updated gemini-3-pro variant to "high" in oracle, metis, momus agents and ultrabrain, deep, artistry categories.

Written for commit dfcfcfa. Summary will update on new commits.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

All contributors have signed the CLA. Thank you! ✅
Posted by the CLA Assistant Lite bot.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

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
@sk0x0y sk0x0y force-pushed the fix/gemini-3-pro-variant branch from 7abde5f to dfcfcfa Compare February 3, 2026 14:15
@sk0x0y
Copy link
Author

sk0x0y commented Feb 3, 2026

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Feb 3, 2026
@sk0x0y
Copy link
Author

sk0x0y commented Feb 3, 2026

recheck

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.

[Bug]: gemini-3-pro fallback uses unsupported variant 'max'

1 participant