You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local agent settings don't override global settings #4217
However, this doesn't work. When I start opencode, I see that the globally configured models are being used for the build and plan agents. When I dump the config with opencode debug config in the project directory, I see that some settings from my project config were applied, but the agent settings were not.
My project local agent config is used if I remove the global agent overrides.
OpenCode version
1.0.58
Steps to reproduce
Override some of the built in agent config in ~/.config/opencode/opencode.json
Override the same build in agent config in <project>/opencode.json
Run opencode debug config and verify that the project local overrides weren't applied
Activity
github-actions commentedon Nov 11, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.