Skip to content

fix(core): hide Bedrock bare IDs that require inference profiles - #48078

Merged
rekram1-node merged 1 commit into
v2from
bedrock-hide-dead
Sep 9, 2026
Merged

rekram1-node merged 1 commit into
v2from
bedrock-hide-dead

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

V2 sends Bedrock model IDs verbatim, but 15 bare catalog IDs are profile-only on AWS: selecting them always fails with ValidationException (on-demand throughput isn't supported, retry with an inference profile). V1 rewrites these to us./eu./etc. profiles at request time, so they must stay in models.dev — V2 instead disables them so they vanish from the picker/available/default resolution. Users pick the working prefixed twins.

The 15 (all verified: absent from on-demand foundation-model listings in us-east-1/us-east-2/us-west-2/eu-west-1/eu-central-1/ap-southeast-2, plus live Converse probes returning the profile-only error):

  • 12 bare anthropic.claude-* (fable-5/5-1, haiku-4-5, opus-4-1/4-5/4-6/4-7/4-8/5, sonnet-4-5/4-6/5)
  • amazon.nova-2-lite-v1:0, deepseek.r1-v1:0, mistral.pixtral-large-2502-v1:0

Single-region survivors (bare Llama3 in us-west-2/us-east-2, bare Qwen/DeepSeek-v3, bare Nova 1.x) were deliberately NOT included — a region-aware filter is the right fix for those and would wrongly kill them if blunt-dropped. This list is interim until per-entry source-region metadata lands.

Mechanics: enabled=false via the existing Bedrock catalog transform (pi-style exclusion, generalized from their 1 ID to the full verified set). Guarded by model.get so entries absent from the catalog are not recreated as skeletons. Explicit config/session refs still resolve with full metadata (and fail at AWS as before); user disabled:false can re-enable.

Tests: 2 new cases (disable-15 + keep controls incl. us. twin, bare Nova Micro, Mantle Astra; no skeleton creation). 16/16 pass, typecheck clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant