Description
I have my agents setup with temperature, top_k and top_p before and worked fine with Claude on openrouter.
Today I got a claude pro subscription with Anthropic but ran into this issue. I removed all the temperature, top_k and top_p from my opencode.json file (in my project folder as well as ~/.config/opencode) but it still gives this error:
temperature and top_p cannot both be specified for this model. Please use only one.
Is it still adding these values by default?
Plugins
None
OpenCode version
1.1.8
Steps to reproduce
opencode auth login
antrhopic pro subscription > register with link > copy confirmation code
Succesfully registered
opencode . in my project folder (wsl2 on windows 10)
/m choose anthropic claude opus, sonnet or haiku model
enter Hello
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response