[PR #12013] cli: add --thinking flag to show reasoning blocks in run command #14027

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

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

State: closed
Merged: Yes


Summary

Add a --thinking flag to the run command that controls whether reasoning/thinking blocks are displayed.

Changes

  • Added --thinking boolean flag (defaults to false)
  • Reasoning blocks are now hidden unless --thinking is explicitly passed

This allows users to opt-in to seeing model reasoning output while keeping the default output clean.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12013 **State:** closed **Merged:** Yes --- ## Summary Add a `--thinking` flag to the `run` command that controls whether reasoning/thinking blocks are displayed. ## Changes - Added `--thinking` boolean flag (defaults to `false`) - Reasoning blocks are now hidden unless `--thinking` is explicitly passed This allows users to opt-in to seeing model reasoning output while keeping the default output clean.
yindo added the pull-request label 2026-02-16 18:18:50 -05:00
yindo closed this issue 2026-02-16 18:18:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14027