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 anthropic responses

Sameer Kankute631400cb17a5
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 47ea3f7aa50..213c96190e6 100644
--- a/tests/llm_responses_api_testing/test_anthropic_responses_api.py
+++ b/tests/llm_responses_api_testing/test_anthropic_responses_api.py
@@ -79,7 +79,7 @@ def test_multiturn_tool_calls():
],
'type': 'message'
}],
- model='anthropic/claude-sonnet-4-5',
+ model='anthropic/claude-4-sonnet-20250514',
instructions='You are a helpful coding assistant.',
tools=[shell_tool]
)
@@ -105,7 +105,7 @@ def test_multiturn_tool_calls():
# Use await with asyncio.run for the async function
follow_up_response = litellm.responses(
- model='anthropic/claude-sonnet-4-5',
+ model='anthropic/claude-4-sonnet-20250514',
previous_response_id=response_id,
input=[{
'type': 'function_call_output',