Browse Source

feat: add support for new regions in Claude Sonnet 4 and Claude Opus 4 models in AWS constants

CaIon 7 months ago
parent
commit
d95c2436d7
1 changed files with 10 additions and 0 deletions
  1. 10 0
      relay/channel/aws/constants.go

+ 10 - 0
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,
 	},
 }