Skip to content

fix(core): exclude invalid Bedrock entries from models.dev imports - #48081

Merged
rekram1-node merged 5 commits into
v2from
bedrock-filter-fix
Sep 9, 2026
Merged

rekram1-node merged 5 commits into
v2from
bedrock-filter-fix

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #48078.

Move the exclusion into the existing models.dev plugin: skip an imported model when its provider is Bedrock and model.modelID ?? model.id matches the 13-entry list. User configuration runs afterward normally.

Remove the old Bedrock-plugin filter. Keep Opus 4.6 and Sonnet 4.6, which AWS documents as supporting in-region Runtime calls in London (eu-west-2).

Removed the added regression test. Updated the existing Nova reasoning fixture to its working US profile and removed the obsolete Bedrock-filter tests.

Sources:

Checks: existing models.dev tests (12 passing), Core bun typecheck, Prettier, and git diff --check pass.

@rekram1-node rekram1-node changed the title fix(core): preserve valid Bedrock models and configured routes fix(core): filter Bedrock models by final wire ID Sep 9, 2026
@rekram1-node rekram1-node changed the title fix(core): filter Bedrock models by final wire ID fix(core): exclude invalid Bedrock entries from models.dev imports Sep 9, 2026
@rekram1-node
rekram1-node merged commit ba14483 into v2 Sep 9, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the bedrock-filter-fix branch September 9, 2026 16:36
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
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