Skip to content

fix: run command should use specified model from cli args if provided - #1648

Merged
adamdotdevin merged 1 commit into
anomalyco:devfrom
yihuikhuu:fix-run-use-specified-model
Aug 6, 2025
Merged

adamdotdevin merged 1 commit into
anomalyco:devfrom
yihuikhuu:fix-run-use-specified-model

Conversation

@yihuikhuu

@yihuikhuu yihuikhuu commented Aug 6, 2025 •

Copy link
Copy Markdown
Contributor

fixes #1645

Currently the cli args are being overridden by the mode/default model as defined in the config. The cli args should take priority

(Note that opencode will print the specified model, but will actually run the mode/default model - you can see this in the session logs)

@yihuikhuu
yihuikhuu marked this pull request as draft August 6, 2025 10:16
@yihuikhuu
yihuikhuu marked this pull request as ready for review August 6, 2025 10:23
@adamdotdevin
adamdotdevin merged commit 90d2b26 into anomalyco:dev Aug 6, 2025
@yihuikhuu
yihuikhuu deleted the fix-run-use-specified-model branch August 7, 2025 13:08
bussard76 pushed a commit to bussard76/openwork that referenced this pull request May 12, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opencode run -m using wrong model.

2 participants