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:
- Plugin fetches available models from the OAuth token's actual permissions (dynamic), OR
- 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.
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-litereturns:Models tested via manual picker
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 recentlygemini-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:
Environment
Workaround
Only
gemini-2.5-flashandgemini-2.5-prowork reliably via OAuth.gemini-3.1-flash-liteworks but other 3.x models fail.