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
According to docs, --model argument from CLI has highest priority. But if i specify any model in my agent/command markdown, they always run with specified model, ignoring any --model provided.
Plugins
No response
OpenCode version
1.2.6
Steps to reproduce
create .opencode/commands/my-command.md with content
---
description: Debug command
model: kimi/deepseek-ai/deepseek-v3.1
---
Say hello
run opencode run --command my-command --model "kimi/deepseek-ai/deepseek-r1"
It will run with kimi/deepseek-ai/deepseek-v3.1 model
Activity
github-actions commentedon Jul 7, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.