Skip to content

fix(anthropic): support Claude 5 structured outputs - #391

Merged
cpsievert merged 2 commits into
mainfrom
fix/issue-390-anthropic-structured-outputs
Aug 14, 2026
Merged

fix(anthropic): support Claude 5 structured outputs#391
cpsievert merged 2 commits into
mainfrom
fix/issue-390-anthropic-structured-outputs

Conversation

@cpsievert

Copy link
Copy Markdown
Collaborator

Closes #390

Why this matters

Claude 5 models now use Anthropic native structured outputs in auto mode instead of falling back to the legacy tool-based implementation.

What changed

The model capability matcher recognizes Claude 5 and later major versions while continuing to exclude legacy version-first names.

Verification

  • make check-tests
  • make check-types
  • make check-format

@cpsievert
cpsievert marked this pull request as ready for review August 14, 2026 15:44
@cpsievert
cpsievert merged commit c6807c2 into main Aug 14, 2026
7 checks passed
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.

Bug: supports_structured_outputs() does not match Claude 5 models

1 participant