Skip to content

Conversation

@aszenz
Copy link
Contributor

@aszenz aszenz commented Feb 6, 2026

Q A
Bug fix? no
New feature? yes
Docs? no
Issues Fix #1552
License MIT

This PR adds structured output support for AWS Bedrock Claude 4.5 models and adds the claude-haiku-4-5-20251001 model to Bedrock catalog plus structured output for it in Anthropic catalog.

Verification:

This adds support for structured outputs on AWS Bedrock for Claude 4.5 models:
- Claude Sonnet 4.5 (claude-sonnet-4-5-20250929)
- Claude Opus 4.5 (claude-opus-4-5-20251101)
- Claude Haiku 4.5 (claude-haiku-4-5-20251001) - newly added to catalog

Changes:
- Update ClaudeModelClient to transform response_format to output_config
- Add OUTPUT_STRUCTURED capability to Claude 4.5 models in ModelCatalog
- Add test coverage for structured output transformation
- Update CHANGELOG.md

The implementation differs from the native Anthropic API:
- Uses output_config.format instead of output_format
- Does not add beta header (structured outputs are GA on Bedrock)
This adds the OUTPUT_STRUCTURED capability to the Claude Haiku 4.5 model
(claude-haiku-4-5-20251001) in the Anthropic bridge, completing the
support for all Claude 4.5 models that have structured output capability.

Changes:
- Add OUTPUT_STRUCTURED capability to claude-haiku-4-5-20251001
- Update test coverage
- Update CHANGELOG.md
@carsonbot carsonbot added Status: Needs Review Feature New feature Platform Issues & PRs about the AI Platform component labels Feb 6, 2026
Updates the Anthropic bridge to use the GA (General Availability) API
format for structured outputs, as announced on January 29, 2026.

Changes:
- Replace output_format with output_config.format
- Remove automatic addition of structured-outputs-2025-11-13 beta header
- Add test for new API format
- Update CHANGELOG.md

Reference: https://platform.claude.com/docs/en/release-notes/overview#january-29-2026
@aszenz aszenz force-pushed the feature/bedrock-structured-output branch from 24bd4a4 to af854e8 Compare February 6, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature Platform Issues & PRs about the AI Platform component Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Platform] Support structured output for Bedrock ClaudeModelClient

2 participants