Skip to content

[Bug]: Alawys show "low" reasoning for gemini-3-pro-preview model on OpenCode #59

@thinkdoggie

Description

@thinkdoggie

Description

The OpenCode status bar incorrectly displays the reasoning mode as "low" for the gemini-3-pro-preview model, even when the user configuration is explicitly set to "high". This appears to be a UI display issue where the actual configuration state is not being reflected in the interface.

Reproduction Steps

Steps to reproduce the behavior:

  1. Configure the thinkingLevel to "high" in ~/.config/opencode/opencode.json.
  2. Open OpenCode.
  3. Select the gemini-3-pro-preview model.
  4. Observe the status bar at the bottom of the interface.

Expected Behavior

The status bar should display "high" to reflect the active configuration for the model.

Actual Behavior

The status bar persistently displays "low" (as seen in the attached screenshot), regardless of the actual "high" setting.

Screenshots

Image

Environment

  • OS: macOS
  • Version: 26.2

Opencode Information

  • Opencode Type: cli
  • Opencode Version: 1.2.10
  • Opencode Settings:
{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-gemini-auth@latest"],
  "provider": {
    "google": {
      "models": {
        "gemini-2.5-flash": {
          "options": {
            "thinkingConfig": {
              "thinkingBudget": 8192,
              "includeThoughts": true
            }
          }
        },
        "gemini-2.5-pro": {
          "options": {
            "thinkingConfig": {
              "thinkingBudget": 8192,
              "includeThoughts": true
            }
          }
        },
        "gemini-3-flash-preview": {
          "options": {
            "thinkingConfig": {
              "thinkingLevel": "high",
              "includeThoughts": true
            }
          }
        },
        "gemini-3-pro-preview": {
          "options": {
            "thinkingConfig": {
              "thinkingLevel": "high",
              "includeThoughts": true
            }
          }
        }
      }
    }

Debug Information

Click to expand debug information

Debug Logs:

gemini-debug-2026-02-23T07-40-50-186Z.log

Bug Report (if applicable):
N/A

Additional Context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions