Skip to content

[BUG] Support for AWS Bedrock Application Inference Profiles #11765

@botoxparty

Description

@botoxparty

Issue

Roo Code doesn't support AWS Bedrock Application Inference Profiles, which work fine in Claude Code and AWS CLI with the same credentials.

Error Message

Error: You don't have access to the model specified.

What Works

AWS CLI:

aws bedrock-runtime invoke-model \
  --model-id arn:aws:bedrock:eu-west-1:xxxxxxxxxxxx:application-inference-profile/xxxxxxxxxxxxx \
  --region eu-west-1 \
  --profile my-profile

✅ Works perfectly

Claude Code:
✅ Works with the same application inference profile

What Doesn't Work

Roo Code:

{
  "aws.profile": "my-profile",
  "aws.region": "eu-west-1",
  "bedrock.modelId": "arn:aws:bedrock:eu-west-1:xxxxxxxxxxxx:application-inference-profile/xxxxxxxxxxxxx"
}

❌ Fails with access error

Why This Matters

Many enterprise AWS accounts restrict access to foundation models and only allow application inference profiles for centralized control. Roo Code should support these like Claude Code does.

Request

Please add support for application inference profile ARNs in the format:
arn:aws:bedrock:region:account:application-inference-profile/profile-id

Context (who is affected and when)

Happens when i try to chat with roocode after configuring my settings.

Reproduction steps

  1. MacOS, latest extension version
  2. Configure AWS Profile
  3. Settings were applied but inference fails

Expected result

RooCode can use the application inference profile

Actual result

Error: You don't have access to the model specified.

Variations tried (optional)

No response

App Version

3.50.5

API Provider (optional)

Amazon Bedrock

Model Used (optional)

application inference profile

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions