diff --git a/tests/local_testing/test_batch_completions.py b/tests/local_testing/test_batch_completions.py index 2125a998f8..95bfe5e6e2 100644 --- a/tests/local_testing/test_batch_completions.py +++ b/tests/local_testing/test_batch_completions.py @@ -72,7 +72,7 @@ def test_batch_completions_models(): def test_batch_completion_models_all_responses(): try: responses = batch_completion_models_all_responses( - models=["gemini/gemini-2.5-flash-lite", "claude-3-haiku-20240307"], + models=["gemini/gemini-2.5-flash-lite", "claude-haiku-4-5-20251001"], messages=[{"role": "user", "content": "write a poem"}], max_tokens=10, ) diff --git a/tests/local_testing/test_function_call_parsing.py b/tests/local_testing/test_function_call_parsing.py index 0351ce7057..f9582fcc57 100644 --- a/tests/local_testing/test_function_call_parsing.py +++ b/tests/local_testing/test_function_call_parsing.py @@ -142,7 +142,7 @@ def trade(model_name: str) -> List[Trade]: # type: ignore @pytest.mark.parametrize( - "model", ["claude-3-haiku-20240307", "anthropic.claude-3-haiku-20240307-v1:0"] + "model", ["claude-haiku-4-5-20251001", "anthropic.claude-3-haiku-20240307-v1:0"] ) @pytest.mark.flaky(retries=6, delay=10) def test_function_call_parsing(model): diff --git a/tests/local_testing/test_function_calling.py b/tests/local_testing/test_function_calling.py index 13adb163d5..b52805c066 100644 --- a/tests/local_testing/test_function_calling.py +++ b/tests/local_testing/test_function_calling.py @@ -47,7 +47,7 @@ def get_current_weather(location, unit="fahrenheit"): [ "gpt-3.5-turbo-1106", "mistral/mistral-large-latest", - "claude-3-haiku-20240307", + "claude-haiku-4-5-20251001", "gemini/gemini-2.5-flash-lite", "anthropic.claude-3-sonnet-20240229-v1:0", ], @@ -275,7 +275,7 @@ from litellm.types.utils import ChatCompletionMessageToolCall, Function, Message "anthropic.claude-3-sonnet-20240229-v1:0", "bedrock", ), - ("claude-3-haiku-20240307", "anthropic"), + ("claude-haiku-4-5-20251001", "anthropic"), ], ) @pytest.mark.parametrize( diff --git a/tests/local_testing/test_router_fallbacks.py b/tests/local_testing/test_router_fallbacks.py index 383ad10457..a14e53adbc 100644 --- a/tests/local_testing/test_router_fallbacks.py +++ b/tests/local_testing/test_router_fallbacks.py @@ -1509,7 +1509,7 @@ def test_router_fallbacks_with_wildcard_model_name(): { "model_name": "claude-3-haiku", "litellm_params": { - "model": "claude-3-haiku-20240307", + "model": "claude-haiku-4-5-20251001", "api_key": os.getenv("ANTHROPIC_API_KEY"), "mock_response": "Hi this is claude!", }, @@ -1555,7 +1555,7 @@ def test_fallbacks_with_different_messages(): { "model_name": "claude-3-haiku", "litellm_params": { - "model": "claude-3-haiku-20240307", + "model": "claude-haiku-4-5-20251001", "api_key": os.getenv("ANTHROPIC_API_KEY"), }, },