From d95c2436d75720652fef4fd23d34aed2dbcb8d80 Mon Sep 17 00:00:00 2001 From: CaIon <1808837298@qq.com> Date: Fri, 23 May 2025 21:11:00 +0800 Subject: [PATCH] feat: add support for new regions in Claude Sonnet 4 and Claude Opus 4 models in AWS constants --- relay/channel/aws/constants.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/relay/channel/aws/constants.go b/relay/channel/aws/constants.go index 9285482a..078155f6 100644 --- a/relay/channel/aws/constants.go +++ b/relay/channel/aws/constants.go @@ -43,6 +43,16 @@ var awsModelCanCrossRegionMap = map[string]map[string]bool{ }, "anthropic.claude-3-7-sonnet-20250219-v1:0": { "us": true, + "ap": true, + "eu": true, + }, + "apac.anthropic.claude-sonnet-4-20250514-v1:0": { + "us": true, + "ap": true, + "eu": true, + }, + "anthropic.claude-opus-4-20250514-v1:0": { + "us": true, }, }