Skip to content

fix(provider): show opus 4.7 thinking chunks#25101

Open
darthbeeius wants to merge 1 commit intoanomalyco:devfrom
darthbeeius:feat/opus47-thinking-chunks
Open

fix(provider): show opus 4.7 thinking chunks#25101
darthbeeius wants to merge 1 commit intoanomalyco:devfrom
darthbeeius:feat/opus47-thinking-chunks

Conversation

@darthbeeius
Copy link
Copy Markdown

@darthbeeius darthbeeius commented Apr 30, 2026

Issue for this PR

Fixes #25106

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Opus 4.7 omits thinking text by default unless summarized thinking display is requested. This sets summarized thinking display by default for Opus 4.7 provider options so reasoning chunks can be emitted without requiring a reasoning variant.

The change covers Anthropic, Gateway, Vertex Anthropic, and Bedrock option shapes, while keeping explicit Opus 4.7 reasoning variants such as xhigh using summarized display.

How did you verify your code works?

  • bun test test/provider/transform.test.ts --timeout 30000
  • bun typecheck

Screenshots / recordings

N/A, non-UI provider option change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot removed needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

Opus 4.7 thinking chunks are hidden by default

1 participant