mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
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:
commit
196c7a0c09
1 changed files with 2 additions and 2 deletions
|
|
@ -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=[
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue