Enable cross-region inference for Claude 4 family models on Amazon Bedrock provider (#32235)

These models require cross-region inference, and it currently fails if
you try to use them:
```
Invocation of model ID anthropic.claude-sonnet-4-20250514-v1:0 with on-demand throughput isn’t supported. 
```

Release Notes:

- Enable cross-region inference for Claude 4 family models on Amazon
Bedrock provider

Signed-off-by: Burak Varlı <burakvar@amazon.co.uk>
This commit is contained in:
Burak Varlı 2025-06-10 08:38:39 +02:00 committed by GitHub
parent 64d649245c
commit 16853acbb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -452,6 +452,10 @@ impl Model {
| Model::Claude3_5SonnetV2
| Model::Claude3_7Sonnet
| Model::Claude3_7SonnetThinking
| Model::ClaudeSonnet4
| Model::ClaudeSonnet4Thinking
| Model::ClaudeOpus4
| Model::ClaudeOpus4Thinking
| Model::Claude3Haiku
| Model::Claude3Opus
| Model::Claude3Sonnet