[BUG] Bedrock model alias resolution

Resolved 💬 3 comments Opened Feb 9, 2026 by rcornu Closed Feb 13, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When agents specify model: opus, Claude Code tries to map that alias to a Bedrock model ID, but it's incorrectly mapping to eu.anthropic.claude-opus-4-1-20250805-v1:0 (Opus 4.1) which doesn't exist on Bedrock.

in ~/.claude/plugins/cache/claude-plugins-official/pr-review-toolkit//agents/.md

What Should Happen?

Claude Code should map model: opus with at least the last Opus model ID on AWS Bedrock

Error Messages/Logs

The two agents (code-reviewer and code-simplifier) failed because they are configured to use a model ID that doesn't exist in this environment: API Error (eu.anthropic.claude-opus-4-1-20250805-v1:0): 400 The provided model identifier is invalid.

Steps to Reproduce

  1. Install pr-review-toolkit plugin
  2. Bind Claude Code and Bedrock
  3. Run pr-review-toolkit commands

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.37

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗