Description
Every time I send a prompt in opencode with Gemma 4 selected, I get this crap:
models/gemma-4-31b is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see available models.
That’s because the damn name should be models/gemma-4-31b-it, not models/gemma-4-31b (try a curl on ListModels, you’ll see). gemma-4-31b-it works in Goose, but Goose is ass; opencode is better.
Also, opencode ignores any config paths or files I try to force it to use gemma-4-31b-it; it sticks with god damn gemma-4-31b.
Plugins
None
OpenCode version
1.3.15
Steps to reproduce
Common sense.
Screenshot and/or share link
Operating System
6.6.87.2-microsoft-standard-WSL2
Terminal
Windows Terminal
Description
Every time I send a prompt in opencode with Gemma 4 selected, I get this crap:
models/gemma-4-31b is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see available models.That’s because the damn name should be
models/gemma-4-31b-it, notmodels/gemma-4-31b(try a curl on ListModels, you’ll see).gemma-4-31b-itworks in Goose, but Goose is ass; opencode is better.Also, opencode ignores any config paths or files I try to force it to use
gemma-4-31b-it; it sticks with god damngemma-4-31b.Plugins
None
OpenCode version
1.3.15
Steps to reproduce
Common sense.
Screenshot and/or share link
Operating System
6.6.87.2-microsoft-standard-WSL2
Terminal
Windows Terminal