Skip to content

Bedrock provider fails to start: catwalk returns us. prefixed model IDs that fail own validation #2986

Description

@rastandy

Bug Description

Crush fails to start with the following error:

ERROR

Failed to configure providers: bedrock provider only supports anthropic models for now, found: us.anthropic.claude-sonnet-4-6.

Root Cause

The providers list fetched from https://catwalk.charm.land/v2/providers returns bedrock model IDs with cross-region inference prefixes (e.g. us.anthropic.claude-sonnet-4-6, us.anthropic.claude-haiku-4-5-20251001-v1:0).

Crush's own validation then rejects these IDs because they don't start with anthropic..

This is a self-inflicted failure: the validation and the remote provider list are inconsistent with each other.

Steps to Reproduce

  1. Install or update crush to v0.70.0
  2. Have AWS credentials configured (any region)
  3. Run crush

Expected Behavior

Crush should start normally. Either:

  • The validation should accept us./eu./ap. prefixed model IDs, or
  • catwalk.charm.land should return unprefixed IDs (e.g. anthropic.claude-sonnet-4-6)

Environment

  • Crush version: v0.70.0
  • OS: Linux (Ubuntu 24.04)
  • AWS Region: us-east-1 / eu-central-1 (both trigger the issue)

Workaround

Manually edit ~/.local/share/crush/providers.json and strip the us./eu./ap. prefixes from all bedrock model IDs after each crush start (since crush overwrites the file on every launch from catwalk).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions