[BUG] /pr-comments use wrong model id when using Bedrock as model provider

Resolved 💬 4 comments Opened Jul 24, 2025 by zxkane Closed Aug 19, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [x] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.59
  • Operating System: Ubuntu 22.04
  • Terminal: zsh

Bug Description

<!-- A clear and concise description of the bug -->
I launched claude code like CLAUDE_CODE_USE_BEDROCK=1 AWS_PROFILE=bedrock claude

Steps to Reproduce

  1. working on a project whose remote repo is in github
  2. use /pr-comments command to pull the pr comments to context

See below error,

/pr-comments is fetching PR comments…

⎿ API Error (claude-3-5-haiku-20241022): 400 The provided model identifier is invalid.

Expected Behavior

Use correct haiku model from Bedrock.

Actual Behavior

The model id of haiku 3.5 mismatch the one in Bedrock.

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

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