Skip to content

Google models fail with "thinking not supported" error #471

@collavinoluis

Description

@collavinoluis

Bug Description

When using oh-my-opencode with Google models, the system fails with error:
"Unable to submit request because thinking is not supported by this model"

Configuration

oh-my-opencode.json:
{
"google_auth": false,
"agents": {
"oracle": { "model": "google/gemini-2.0-flash" }
}
}

Actual Behavior

Logs show it's using:

  • modelID: gemini-3-flash-preview (instead of gemini-2.0-flash)
  • thinkingConfig enabled (not supported)

Expected Behavior

Should use the configured model without thinking mode

Environment

  • oh-my-opencode: 2.12.2
  • OpenCode: 1.0.223
  • OS: Windows

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