fix: use global inference profile for claude-opus-4-6 mapping

Use global.anthropic.claude-opus-4-6-v1 (cross-region inference profile)
instead of us.anthropic prefix for better availability.
This commit is contained in:
bensonz
2026-02-10 14:14:38 +08:00
parent 6acdd0ba5f
commit 7aa80156fc

View File

@@ -440,7 +440,7 @@ class BedrockRelayService {
// 标准Claude模型名到Bedrock模型名的映射表
const modelMapping = {
// Claude Opus 4.6
'claude-opus-4-6': 'us.anthropic.claude-opus-4-6-v1',
'claude-opus-4-6': 'global.anthropic.claude-opus-4-6-v1',
// Claude 4.5 Opus
'claude-opus-4-5': 'us.anthropic.claude-opus-4-5-20251101-v1:0',