enable bedrock 2 regions

This commit is contained in:
LeonOstrez
2024-09-27 00:13:04 +02:00
parent bcccd86c65
commit ad3f4da00a

View File

@@ -479,10 +479,10 @@ def adapt_for_bedrock(config: Config) -> Config:
return config
replacement_map = {
"claude-3-5-sonnet-20240620": "anthropic.claude-3-5-sonnet-20240620-v1:0",
"claude-3-sonnet-20240229": "anthropic.claude-3-sonnet-20240229-v1:0",
"claude-3-haiku-20240307": "anthropic.claude-3-haiku-20240307-v1:0",
"claude-3-opus-20240229": "anthropic.claude-3-opus-20240229-v1:0",
"claude-3-5-sonnet-20240620": "us.anthropic.claude-3-5-sonnet-20240620-v1:0",
"claude-3-sonnet-20240229": "us.anthropic.claude-3-sonnet-20240229-v1:0",
"claude-3-haiku-20240307": "us.anthropic.claude-3-haiku-20240307-v1:0",
"claude-3-opus-20240229": "us.anthropic.claude-3-opus-20240229-v1:0",
}
for agent in config.agent: