[PR #3475] Add argument --reasoning-effort to opencode run #10660

Closed
opened 2026-02-16 18:15:23 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3475

State: closed
Merged: No


Being able to customize the reasoning effort for the CLI without having to create a custom agent file is a big improvement to quality of life, for CLI usages.

This PR introduces --reasoning-effort / -r to opencode run command, just like in Factory's Droid.

Does it work?

Yes it does! For example, without this PR, model gpt-5-pro cannot be used yet (until PR #3474 is merged).
By being able to customize the reasoning effort, the model can successfully be called.

image

(yes, more than 1m to say hello, that's the power of 5-pro)

Note that the aim of this PR is not to fix gpt-5-pro (#3474 is here for that). Its aim is really to give more flexibility to CLI users of the run command.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3475 **State:** closed **Merged:** No --- Being able to customize the reasoning effort for the CLI without having to create a custom agent file is a big improvement to quality of life, for CLI usages. This PR introduces `--reasoning-effort / -r` to `opencode run` command, just like in Factory's Droid. ## Does it work? Yes it does! For example, without this PR, model `gpt-5-pro` cannot be used yet (until PR #3474 is merged). By being able to customize the reasoning effort, the model can successfully be called. <img width="988" height="121" alt="image" src="https://github.com/user-attachments/assets/08faf77e-a13c-4cd5-b154-fe2154a5a384" /> _(yes, more than 1m to say hello, that's the power of 5-pro)_ Note that the aim of this PR is **not** to fix gpt-5-pro (#3474 is here for that). Its aim is really to give more flexibility to CLI users of the `run` command.
yindo added the pull-request label 2026-02-16 18:15:23 -05:00
yindo closed this issue 2026-02-16 18:15:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10660