claude-code - 💡(How to fix) Fix Thinking summaries missing on Opus 4.7 — harness doesn't set display: "summarized" [6 comments, 6 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49268Fetched 2026-04-17 08:46:05
View on GitHub
Comments
6
Participants
6
Timeline
24
Reactions
16
Author
Timeline (top)
subscribed ×9commented ×6cross-referenced ×4labeled ×4
RAW_BUFFERClick to expand / collapse

Switched to Opus 4.7 on v2.1.111 and noticed thinking summaries stopped showing up. Took a bit to track down — writing it up in case it's useful.

The extended-thinking API docs note that Opus 4.7 changed the default for the display parameter to "omitted" (Opus 4.6 and earlier defaulted to "summarized"). The reason given is faster time-to-first-token on streaming responses.

The result is the API returns thinking blocks with empty thinking fields by default, so the UI has nothing to render. Setting "showThinkingSummaries": true in settings.json doesn't help — that controls rendering of what the API sends back, not what the API decides to send.

Repro

  1. Run v2.1.111 with "showThinkingSummaries": true set
  2. /model claude-opus-4-7
  3. Ask something that triggers extended thinking
  4. No summaries appear in the UI

Switching to claude-opus-4-6 or claude-sonnet-4-6 brings them back since those still default to "summarized".

Suggested fix When the selected model defaults to display: "omitted" (currently Opus 4.7 and Mythos Preview per the docs) and the user has showThinkingSummaries enabled, the harness should pass display: "summarized" explicitly in the API request.

Environment

  • Claude Code 2.1.111
  • Model: claude-opus-4-7 (1M context variant)
  • macOS 15.3 (Darwin 25.3.0)

extent analysis

TL;DR

Pass display: "summarized" explicitly in the API request when the selected model defaults to display: "omitted" and showThinkingSummaries is enabled.

Guidance

  • Verify that the issue is specific to models with the default display parameter set to "omitted", such as Opus 4.7.
  • Check the API documentation to confirm the correct syntax for passing the display parameter in the request.
  • Test the suggested fix by modifying the API request to include display: "summarized" when showThinkingSummaries is enabled.
  • Confirm that switching to a model with a default display parameter of "summarized", such as claude-opus-4-6, resolves the issue.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

This fix may only apply to specific models and versions, such as Opus 4.7, and may not be a universal solution.

Recommendation

Apply the workaround by passing display: "summarized" explicitly in the API request, as this directly addresses the identified issue with the default display parameter change in Opus 4.7.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Thinking summaries missing on Opus 4.7 — harness doesn't set display: "summarized" [6 comments, 6 participants]