mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-13 19:06:53 +00:00
fix(tests): use Sonnet 4.5 for Bedrock invoke prompt-caching tests
Claude 3.5 Sonnet v2 reached EOL on Bedrock 2026-03-01, returning the same 404 EOL error as 3.7 Sonnet. Sonnet 4.5 supports both InvokeModel and Converse APIs on Bedrock, so use the same model for both routes.
This commit is contained in:
@@ -97,7 +97,7 @@ class BaseAnthropicMessagesPromptCachingTest(ABC):
|
||||
|
||||
Examples:
|
||||
- "bedrock/converse/anthropic.claude-sonnet-4-5-20250929-v1:0"
|
||||
- "bedrock/invoke/anthropic.claude-3-5-sonnet-20241022-v2:0"
|
||||
- "bedrock/invoke/anthropic.claude-sonnet-4-5-20250929-v1:0"
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@@ -43,4 +43,4 @@ class TestBedrockInvokePromptCaching(BaseAnthropicMessagesPromptCachingTest):
|
||||
"""
|
||||
|
||||
def get_model(self) -> str:
|
||||
return "bedrock/invoke/us.anthropic.claude-3-5-sonnet-20241022-v2:0"
|
||||
return "bedrock/invoke/us.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
||||
|
||||
Reference in New Issue
Block a user