Merge pull request #27077 from BerriAI/litellm_fix_responses_api_legacy_claude_4_sonnet-9574

test(responses): replace legacy `claude-4-sonnet-20250514` alias in multiturn tool-call test
This commit is contained in:
Mateo Wang 2026-05-04 09:50:17 -07:00 • committed by GitHub
commit 196c7a0c09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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=[
{