Skip to content

[BUG] Roo doesn't correctly infer details for claude 4.5 when using a custom ARN in a specific region with bedrock. (+ regions not being handled well generally) #8561

@XL-Lewis

Description

@XL-Lewis

Problem (one or two sentences)

i.e. region ap-southeast-2 has inference ID au.anthropic.claude-sonnet-4-5-20250929-v1:0.

When I specify that custom ID, along with a region, I get the following incorrect parameters:

Context Window: 128,000 tokens
Max output: 5,000 tokens
Supports images
Does not support computer use
Does not support prompt caching

NOTE: Using the arn provided in the roo dropdown returns an error, which is why I have to submit a custom arn anyway. I believe this is due to some issue with cross-region-inference and the specific regions allowed to use each inference id.

Context (who is affected and when)

  • Bedrock users
  • Custom ARNs
  • Claude 4.5 users
  • Local model for inference

Reproduction steps

  1. Using amazon bedrock
  2. Select claude 4.5 via a local region inference ID
  3. Select cross region inference
  4. Attempt to prompt

Expected result

The model displays a series of settings for the model, including caching and reasoning

Actual result

I get an incorrect settings set.

Usage pricing is significantly increased due to lack of caching in settings. Reasoning not available etc.

Variations tried (optional)

No response

App Version

3.28.15

API Provider (optional)

AWS Bedrock

Model Used (optional)

Claude 4.5 sonnet

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions