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]

test(responses): replace legacy claude-4-sonnet alias in multiturn tool-call test

Cursor Agent2e6965381e68
diff --git a/tests/llm_responses_api_testing/test_anthropic_responses_api.py b/tests/llm_responses_api_testing/test_anthropic_responses_api.py
index 575e1af21a3..6537f67acb9 100644
--- a/tests/llm_responses_api_testing/test_anthropic_responses_api.py
+++ b/tests/llm_responses_api_testing/test_anthropic_responses_api.py
@@ -89,7 +89,7 @@ def test_multiturn_tool_calls():
"type": "message",
}
],
- model="anthropic/claude-4-sonnet-20250514",
+ model="anthropic/claude-haiku-4-5-20251001",
instructions="You are a helpful coding assistant.",
tools=[shell_tool],
)
@@ -115,7 +115,7 @@ def test_multiturn_tool_calls():
# Use await with asyncio.run for the async function
follow_up_response = litellm.responses(
- model="anthropic/claude-4-sonnet-20250514",
+ model="anthropic/claude-haiku-4-5-20251001",
previous_response_id=response_id,
input=[
{