Repository navigation
fix: Anthropic AWS models are named anthropic-aws.messages - #314
Closed
cunninghamcard-bit wants to merge 1 commit into
Closed
cunninghamcard-bit wants to merge 1 commit into
cunninghamcard-bit wants to merge 1 commit into
Conversation
@ai-sdk/anthropic-aws 2.0.63 gives its chat model the provider name `anthropic-aws.messages` (anthropic-aws-provider.ts:246); aimux used `anthropic-aws`. A `name` setting still replaces it, and the providerOptions key stays `anthropic`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RoxcKU4zBD64Lri3e4Lrq5
This was referenced Oct 20, 2026
Contributor
Author
|
Folded into #318 together with the other Anthropic AWS fixes, so each vendor has one fix PR. This change is commit Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Before: an Anthropic AWS model created without a
namesetting reportedprovider() == "anthropic-aws".After: as in
@ai-sdk/anthropic-aws2.0.63, it reports"anthropic-aws.messages". Anamesetting still replaces it, and the providerOptions key staysanthropic.Found while porting the upstream Anthropic AWS tests (case
anthropicAws provider - model identity › sets the provider name to anthropic-aws.messages on the model). Part of the #276 list.How it works today
What this PR changes
Tests (
tests/anthropic_aws_settings_test.rs):the_default_provider_name_is_anthropic_aws_messageschecks the default and a named provider; on master it fails withleft: "anthropic-aws",right: "anthropic-aws.messages". The upstream case is ported in the Anthropic AWS test PR.Docs: CHANGELOG
Fixed.Type of change
Checklist
cargo +1.99 fmt -p aimux-providers -- --checkpassescargo +1.99 clippy -p aimux-providers --lib --tests -- -D warningspassescargo +1.99 test -p aimux-providers --test anthropic_aws_settings_testpasses (5)scripts/check_provider_boundaries.shpassesNotes for reviewers
First of five Anthropic AWS fixes, stacked in this order (each on the previous one's branch): this PR ← image/PDF URLs ← missing SigV4 credentials ← credential producer failures ← default transport per request ← the test PR. Nothing else in the repository reads the default name.
Generated by Claude Code