Fix anthropic responses

This commit is contained in:
Sameer Kankute 2026-02-20 09:28:05 +05:30
parent 9c1fc55413
commit 32ae6511a2

View file

@ -79,7 +79,7 @@ def test_multiturn_tool_calls():
],
'type': 'message'
}],
model='anthropic/claude-3-7-sonnet-latest',
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-3-7-sonnet-latest',
model='anthropic/claude-4-sonnet-20250514',
previous_response_id=response_id,
input=[{
'type': 'function_call_output',