Repository navigation
Description
Area
Provider adapters (anthropic)
What are you trying to accomplish?
We run a Responses client (gjc, an ACP/coding-agent host with a mobile front end) through OpenCodex against anthropic/claude-opus-5-5 on api.anthropic.com. The client shows reasoning summaries in a "thinking" view. We want Opus 5.5 reasoning summaries to show there, like they do for every other Claude model behind the same adapter.
What prevents this today?
Since #7143 (fixes #7108), the adapter forces thinking: {type: "adaptive", display: "updates"} plus the thinking-display-updates-2026-08-18 beta whenever usesNativeAnthropicEndpoint(provider) and the model is Opus 5.5 (src/adapters/anthropic.ts, progressUpdates around line 1084, override at line 1151). The override runs after, and ignores, everything the request said about reasoning display:
Measured on main (9f0d40a2, 2.92.0) with createAnthropicAdapter(...).buildRequest(parseRequest(...)):
| model | request reasoning |
sent thinking |
|---|---|---|
| claude-opus-5-5 | {effort:"high"} |
{"type":"adaptive","display":"updates"} + beta |
| claude-opus-5-5 | {effort:"high", summary:"detailed"} |
{"type":"adaptive","display":"updates"} + beta |
| claude-sonnet-5-5 | {effort:"high"} |
{"type":"adaptive","display":"summarized"} |
| claude-sonnet-5-5 | {effort:"high", summary:"detailed"} |
{"type":"adaptive","display":"summarized"} |
Observed effect through a 2.88.0 deployment:
- In one session, 756 of 828 reasoning items on the Opus 5.5 lane carried empty summary text.
- A probe turn spent 275 reasoning tokens and returned
summary_text: "". The only visible text was progress commentary (phase: "commentary"). - The same client talking to Anthropic directly (
display: "summarized") had 47 of 47 thinking blocks with text.
I understand this is intentional. The provider guide explains that under display: "summarized" Anthropic cannot tell progress updates apart from reasoning, and the updates mode is the better default for Codex. So this is not a request to revert #7143.
What should OpenCodex do?
Keep display: "updates" as the default for Opus 5.5. Let a client that explicitly asks for reasoning summaries get them:
- Request
reasoning.summaryis"detailed"or"concise": send{type: "adaptive", display: "summarized"}without the updates beta. This is the same body Sonnet 5.5 / Opus 5 get today. "auto"or absent: unchanged (display: "updates").hideThinkingSummarykeeps its current meaning.
A client opting in accepts the trade-off the guide describes: progress updates may arrive folded into reasoning summaries instead of as separate commentary.
Example usage or interface
{ "model": "anthropic/claude-opus-5-5", "reasoning": { "effort": "high", "summary": "detailed" } }→ thinking: {"type":"adaptive","display":"summarized"}, no thinking-display-updates-2026-08-18 beta.
Alternatives or workarounds
- A provider-level config flag (e.g.
opus55ThinkingDisplay: "updates" | "summarized"). It is less flexible than per-request, but it would also work for clients that always sendsummary: "auto". - Patching the deployment locally. We are avoiding that.
Additional context
Happy to send the PR with focused regression tests in tests/adapters/anthropic/anthropic-progress-updates.test.ts (the opt-in path sends summarized and no beta; auto and absent stay on updates). The docs change would go in guides/providers.md. Before writing it, I'd like to confirm which shape you prefer (per-request reasoning.summary vs. provider flag).
Checks
- I searched existing issues and documentation.
- This request describes a concrete OpenCodex workflow rather than merely naming a desired technology.
- I removed secrets and personal data.
Activity
vibewriter-hand commentedon Oct 27, 2026
Additional scope for this request, from a Codex client running through OpenCodex 2.92.0 (published npm package).
What happens
For native Anthropic Opus 5.5, the adapter turns on progress updates and adaptive thinking with display updates (src/adapters/anthropic.ts:1084 and :1151 in the published 2.92.0 package).
src/adapters/anthropic-progress.ts:25 then emits the signed thinking progress blocks as text_delta with phase commentary, and src/bridge/sse.ts:902 emits them as visible output messages plus a replay carrier.
In the Codex client these vendor progress summaries appear as assistant commentary.
Three effects we observed on 2026-10-27:
These are recorded client observations plus static tracing of the published source; no fresh live Anthropic call was made for this comment.
Request
An explicit operator option for how thinking progress is shown, for example
reasoning | commentary | off(illustrative name, not an existing key):In every mode, signed replay continuity must stay intact (signature bytes unchanged), genuine assistant commentary still appears exactly once, and the requested thinking effort is not changed.
Cases worth testing: signed progress, unsigned thinking, empty blocks, tool boundaries, cancellation, non-streaming responses, replay, and genuine commentary.
Provider reference: https://platform.claude.com/docs/en/build-with-claude/thinking#progress-updates
Related: #7108 (completed by #7143, which introduced signed commentary on purpose).
fix(anthropic): honor explicit Opus 5.5 reasoning summaries (#7728) (#…
Ingwannu commentedon Oct 29, 2026
Status update against current dev
9b78a16f4fe0c300527e6b183052407269bb941d: the original explicit summary opt-in is now implemented by merged #7881 (ef1ca714ca3d8c56132ed33f21809142887ccf88).reasoning.summary: "concise"or"detailed"selects summarized thinking for the native Opus5.5 route and omits the progress-updates beta; auto/none/omitted retain the existing updates default. The adapter uses the final per-request thinking display for response classification, including adapter reuse. This is a landed-code statement, not a fresh live Anthropic measurement or a claim about your installed 2.92.0 build.The later request for an operator-selectable
reasoning | commentary | offdisplay policy is broader. #7881 does not introduce that three-way setting, and translated Messages ingress still cannot express the summary opt-in as a new public field. I am leaving this thread open for the remaining display-policy decision rather than treating the additional scope as completed. No default display, account setting or service was changed during triage.