Skip to content

fix: honor CODEX_CONFIG reasoning summary per turn#298

Open
wpfleger96 wants to merge 1 commit into
agentclientprotocol:mainfrom
wpfleger96:reasoning-summary-passthrough
Open

fix: honor CODEX_CONFIG reasoning summary per turn#298
wpfleger96 wants to merge 1 commit into
agentclientprotocol:mainfrom
wpfleger96:reasoning-summary-passthrough

Conversation

@wpfleger96

Copy link
Copy Markdown

sendPrompt() unconditionally overrides the per-turn reasoning summary to "auto", so the model_reasoning_summary key in CODEX_CONFIG (which already flows into the session config) can never take effect. This is the same config-passthrough class as #280 and #215.

The fix reads the configured value and passes it through to runTurn. Falls back to "auto" when unset or invalid, preserving today's behavior exactly. disableSummary (API-key auth / model lacks reasoning) still forces "none" unconditionally.

Closes #294

sendPrompt() unconditionally set summary to "auto", overriding whatever
the session config carried via CODEX_CONFIG. Read the configured value
and pass it through; fall back to "auto" only when unset or invalid.
disableSummary still forces "none" unconditionally.

Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
@wpfleger96 wpfleger96 force-pushed the reasoning-summary-passthrough branch from 4721882 to 2c4a2ab Compare July 14, 2026 14:38
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.

Reasoning summary mode is hardcoded to "auto"; no way to get detailed/raw reasoning (regression from zed-industries/codex-acp)

1 participant