Responses: reasoning tokens spent but Desktop thinking empty when only encrypted_content / empty summary arrives

Open
#38,160 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
api, cli, desktop

Research direction

Start by tracing Responses wire API handling for reasoning items, summary_text, reasoning_summary_text.delta, and encrypted_content, then follow how those values reach the Desktop and CLI thinking panels. Reproduce with detailed or auto summaries and reasoning_tokens greater than zero. Done means supported summary text reliably appears, or the encrypted-only limitation is clearly surfaced and documented.

Written by the indexing model from the issue text.

Description

app app-server bug CLI

What happened

On Codex Desktop (and CLI), some Responses turns show:

Codex is reasoning, but the upstream Responses API exposed this reasoning block only as encrypted private reasoning…

or no thinking panel content at all, even when:

  • model_reasoning_effort is high/ultra
  • model_reasoning_summary is auto or detailed
  • usage reports output_tokens_details.reasoning_tokens > 0

So the model did think, but the UI has nothing readable to show.

Why it matters

Users cannot tell whether the agent is making progress during long agentic/Goal turns. Effort sliders appear active, but thinking is blank or a dead-end encrypted notice.

Expected

When model_reasoning_summary is not none and the Responses API returns a reasoning item:

  1. Prefer streaming/showing summary text (summary_text / response.reasoning_summary_text.delta).
  2. If only encrypted_content is present, either:
    • still request/attach a plaintext summary when the account/model supports it, or
    • document clearly that this backend path cannot surface thinking (not a misconfigured effort slider).

Repro sketch

  1. Codex Desktop with model_reasoning_summary = "detailed" and a GPT-5.6-class model.
  2. Long agentic turn (tools + Goal).
  3. Observe thinking panel: encrypted-only notice or empty, while token usage includes reasoning tokens.

Related config

model_reasoning_effort = "ultra"
model_reasoning_summary = "detailed"

Catalog field default_reasoning_summary defaults to "none" in the official models cache, which makes this easy to hit if the session does not override it.

Environment

  • Codex CLI/Desktop recent (0.147.x-class)
  • Responses wire API
  • No logs/secrets attached

Ask

  • Confirm whether empty summary + non-zero reasoning_tokens is expected for some backends.
  • If not, fix request/response handling so detailed/auto summaries reliably populate the thinking panel for agentic turns.
Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.