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

Release Notes:

- Added Cross-Region inference support for US Claude 3.5 Haiku

Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
Shardul Vaidya 2025-05-12 04:41:45 -04:00 committed by GitHub
parent 1f58ce80f2
commit d867897746
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)),