Skip to content

--hide-reasoning and hide_reasoning=True parameters#1442

Merged
simonw merged 5 commits into
mainfrom
docs/hide-reasoning
May 12, 2026
Merged

--hide-reasoning and hide_reasoning=True parameters#1442
simonw merged 5 commits into
mainfrom
docs/hide-reasoning

Conversation

@simonw

@simonw simonw commented May 12, 2026

Copy link
Copy Markdown
Owner

Previously we had a -R/--no-reasoning option to llm prompt which was misleadingly named - it only suppressed output of reasoning text, it did not turn reasoning off - and was not passed through to the models.

As of #1435 the default OpenAI model plugin requests "summary": "auto" reasoning summaries. You can hide these with -R but they are still requested.

This change passes hide_reasoning=True through on the Prompt object, such that plugins can opt not to request visible reasoning tokens.

@simonw simonw added enhancement New feature or request openai labels May 12, 2026
@simonw

simonw commented May 12, 2026

Copy link
Copy Markdown
Owner Author

@simonw simonw marked this pull request as ready for review May 12, 2026 16:22
@simonw simonw merged commit 5a2e0a4 into main May 12, 2026
32 checks passed
@simonw simonw deleted the docs/hide-reasoning branch May 12, 2026 16:24
simonw added a commit that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request openai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant