Skip to content

fix: correct Bedrock model ID for Claude Opus 4.6#2723

Merged
amitksingh1490 merged 2 commits intoantinomyhq:mainfrom
majiayu000:fix/issue-2644-bedrock-opus-4-6-model-id
Mar 28, 2026
Merged

fix: correct Bedrock model ID for Claude Opus 4.6#2723
amitksingh1490 merged 2 commits intoantinomyhq:mainfrom
majiayu000:fix/issue-2644-bedrock-opus-4-6-model-id

Conversation

@majiayu000
Copy link
Copy Markdown
Contributor

Fixes #2644

The Bedrock model ID for Claude Opus 4.6 had an invalid :0 version suffix (anthropic.claude-opus-4-6-v1:0), which causes a ValidationException from AWS. Removed the suffix so the ID is just anthropic.claude-opus-4-6-v1.

Other Bedrock models (Sonnet 4.5, Opus 4, Opus 4.1) correctly use :0. This is specific to the Opus 4.6 identifier, which doesn't have the :0 version alias on Bedrock.

Single-line change in crates/forge_repo/src/provider/provider.json line 1238. All workspace tests pass.

Remove invalid ':0' version suffix from the Opus 4.6 Bedrock
model identifier. The suffix causes a ValidationException on
AWS Bedrock for this specific model.

Fixes antinomyhq#2644

Signed-off-by: majiayu000 <1835304752@qq.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 28, 2026

CLA assistant check
All committers have signed the CLA.

@majiayu000 majiayu000 marked this pull request as ready for review March 28, 2026 14:24
@amitksingh1490 amitksingh1490 merged commit 4052064 into antinomyhq:main Mar 28, 2026
10 checks passed
@amitksingh1490 amitksingh1490 added the type: bug Something isn't working. label Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Invalid model identifier for Claude Opus 4.6 via Bedrock

3 participants