Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Fix update deprecated model test

Sameer Kankute15d873e20497
diff --git a/tests/local_testing/test_exceptions.py b/tests/local_testing/test_exceptions.py
index 4cc2723ace8..2c950d79067 100644
--- a/tests/local_testing/test_exceptions.py
+++ b/tests/local_testing/test_exceptions.py
@@ -927,7 +927,7 @@ def test_anthropic_tool_calling_exception():
]
try:
litellm.completion(
- model="claude-3-5-sonnet-20240620",
+ model="claude-haiku-4-5-20251001",
messages=[{"role": "user", "content": "Hey, how's it going?"}],
tools=tools,
)