litellm/tests/llm_responses_api_testing
Cursor Agent 2e6965381e
test(responses): replace legacy claude-4-sonnet alias in multiturn tool-call test
Anthropic's main API no longer resolves the non-canonical 'claude-4-sonnet-20250514'
alias for freshly issued keys, returning 404 not_found_error. PR #27031 already
swept three other live tests pinned to this alias to claude-haiku-4-5-20251001
but missed test_multiturn_tool_calls in the responses API suite, which is now
failing reliably on PR CI runs (e.g. PR #27074, job 1603363).

Bump the two model references in test_multiturn_tool_calls to the same
claude-haiku-4-5-20251001 snapshot used by PR #27031 -- it covers everything
this test exercises (tool calling, multi-turn) and isn't on a deprecation
schedule.

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
2026-05-03 07:48:56 +00:00
..
base_responses_api.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
conftest.py tests(vcr): drop redundant comments and docstrings 2026-05-01 14:36:48 -07:00
test_anthropic_responses_api.py test(responses): replace legacy claude-4-sonnet alias in multiturn tool-call test 2026-05-03 07:48:56 +00:00
test_anthropic_tool_result_empty_call_id.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_anthropic_tool_result_fix.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_azure_responses_api.py test: test 2026-03-28 19:17:38 -07:00
test_base_responses_api_streaming_iterator.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_google_ai_studio_responses_api.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_openai_responses_api.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_responses_hooks.py test: include response key in response.completed chunk for ID hook test 2026-05-01 15:41:17 +05:30