Skip to content

feat(aws): add claude-sonnet-4-6 Bedrock mapping and cross-region support - #2976

Merged
seefs001 merged 1 commit into
QuantumNous:mainfrom
wellsgz:codex/aws-claude-sonnet-4-6
Feb 21, 2026
Merged

feat(aws): add claude-sonnet-4-6 Bedrock mapping and cross-region support#2976
seefs001 merged 1 commit into
QuantumNous:mainfrom
wellsgz:codex/aws-claude-sonnet-4-6

Conversation

@wellsgz

@wellsgz wellsgz commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add AWS Bedrock model mapping for claude-sonnet-4-6 -> anthropic.claude-sonnet-4-6
  • add cross-region availability entry for anthropic.claude-sonnet-4-6 (us, eu, ap)
  • scope is AWS constants only, following the claude-opus-4-6 AWS constants pattern

Verification

  • confirmed entries exist in relay/channel/aws/constants.go
  • attempted go test ./relay/channel/aws/... with local GOCACHE/GOMODCACHE
  • test execution is blocked in this environment by inability to resolve proxy.golang.org

Reference

  • AWS CLI model ID confirmation used: anthropic.claude-sonnet-4-6

Summary by CodeRabbit

Release Notes

  • New Features
    • Added support for Claude Sonnet 4.6 model
    • Enabled multi-region availability across US, Asia Pacific, and EU regions

@coderabbitai

coderabbitai Bot commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉


Walkthrough

Added support for the claude-sonnet-4-6 model in AWS configuration by registering its model ID mapping and enabling cross-region deployment across US, AP, and EU regions.

Changes

Cohort / File(s) Summary
AWS Model Configuration
relay/channel/aws/constants.go
Added claude-sonnet-4-6 model entry to awsModelIDMap and enabled cross-region permissions in awsModelCanCrossRegionMap for US, AP, and EU regions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • seefs001

Poem

🐰 A new Sonnet variant hops into play,
Cross-regions aligned in three regions today,
Claude's latest edition now spread far and wide,
AWS channels with hoppy, new pride! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: adding claude-sonnet-4-6 Bedrock mapping and cross-region support, which directly aligns with the file modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@seefs001
seefs001 merged commit 588cbe8 into QuantumNous:main Feb 21, 2026
1 check passed
ennnnny pushed a commit to ennnnny/new-api that referenced this pull request Mar 17, 2026
…net-4-6

feat(aws): add claude-sonnet-4-6 Bedrock mapping and cross-region support
@coderabbitai coderabbitai Bot mentioned this pull request May 30, 2026
11 tasks
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.

2 participants