Skip to content

feat(providers/anthropic): add EffortXHigh constant#204

Merged
andreynering merged 1 commit intocharmbracelet:mainfrom
coder:danielle/anthropic-xhigh-effort-upstream
Apr 16, 2026
Merged

feat(providers/anthropic): add EffortXHigh constant#204
andreynering merged 1 commit intocharmbracelet:mainfrom
coder:danielle/anthropic-xhigh-effort-upstream

Conversation

@DanielleMaywood
Copy link
Copy Markdown
Contributor

  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

Adds EffortXHigh to the Anthropic provider for the xhigh effort level
introduced with Claude Opus 4.7, which sits between high and max.

Effort and the SDK's OutputConfigEffort are both string aliases, so
the value passes through to the API unchanged — no switch or validation
updates are needed.

Refs: https://www.anthropic.com/news/claude-opus-4-7

Note

PR was written with Coder Agents but has been reviewed by a human

Copy link
Copy Markdown
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@andreynering andreynering enabled auto-merge (squash) April 16, 2026 17:45
@andreynering andreynering merged commit f60d4fe into charmbracelet:main Apr 16, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants