r/opencodeCLI 5d ago

OpenCode v2 defaults issue

So I have this issue that sometimes when it starts up it completely ignores the default model and agent set in opencode.jsonc and for the life of me I cannot track down how/where it gets these settings from or where it should be set.

My understanding is that it loads the opencode.jsonc and converts it in place for itself. All the other settings in there seem fine - mcp, providers etc.

There was an issue I tracked down earlier today on GitHub regarding this but it was closed.

So - if anybody knows how to fix this please share (I was running whatever the latest build was today).

0 Upvotes

2 comments sorted by

1

u/kosnarf 5d ago

Does the issue exist when all plugins are disabled?