Skip to content

OAuth model list missing 3.6/3.5/3.1-live-preview; only 3.1-flash-lite works #83

Description

@andykalyakin

Problem

When using the plugin with Google OAuth (Gemini CLI flow), the model picker shows all models from opencode registry, but selecting any 3.x model except gemini-3.1-flash-lite returns:

OpenCode error: Requested entity was not found.

Models tested via manual picker

Model Result
gemini-3.6-flash entity not found
gemini-3.5-flash entity not found
gemini-3.1-flash-live-preview entity not found
gemini-3.1-flash-lite works

Root cause hypothesis

The plugin uses Gemini CLI OAuth flow. CLI's internal model list for OAuth accounts only includes gemini-2.5-flash, gemini-2.5-pro, and recently gemini-3.1-flash-lite. Newer 3.x models (3.5, 3.6, 3.1-live-preview) are in the public registry but not enabled for OAuth accounts.

Expected

Either:

  1. Plugin fetches available models from the OAuth token's actual permissions (dynamic), OR
  2. Plugin maintainers update the hardcoded allowlist when Google adds models to OAuth tier.

Environment

  • opencode-gemini-auth@latest
  • opencode 1.14.33
  • Google AI Pro subscription (personal account)
  • macOS

Workaround

Only gemini-2.5-flash and gemini-2.5-pro work reliably via OAuth. gemini-3.1-flash-lite works but other 3.x models fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions