Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

bedrock: Support cross-region inference for US Claude 3.5 Haiku (#28523)

Shardul Vaidyad86789774634
diff --git a/crates/bedrock/src/models.rs b/crates/bedrock/src/models.rs
index 044b46d0bd8..6745b49cd58 100644
--- a/crates/bedrock/src/models.rs
+++ b/crates/bedrock/src/models.rs
@@ -321,6 +321,7 @@ impl Model {
// Models available only in US
(Model::Claude3Opus, "us")
+ | (Model::Claude3_5Sonnet, "us")
| (Model::Claude3_7Sonnet, "us")
| (Model::Claude3_7SonnetThinking, "us")
| (Model::AmazonNovaPremier, "us") => Ok(format!("{}.{}", region_group, model_id)),