litellm/tests/unit/llms/anthropic/chat
mateo-berri 8869042665 fix(anthropic): check malformed thinking_blocks without downloading a remote file_data URL
The probe that decides whether a malformed thinking_blocks is at fault swapped
remote image URLs for a placeholder but left a file part's remote file_data
URL in place, so a rejected or dropped request downloaded that file once more
per translation. A remote file_data URL now gets the same placeholder, so the
check downloads nothing and the sent request downloads the file once

(cherry picked from commit 955c27b9d9)
2026-11-24 00:29:46 -08:00
..
guardrail_translation fix(guardrails): keep cache_control in guardrail translation for deployments that honor it 2026-11-23 01:57:02 -08:00
__init__.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
conftest.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_anthropic_chat_handler.py fix(exceptions): keep the provider error body on e.response for SDK callers 2026-11-22 22:17:39 -08:00
test_anthropic_chat_transformation.py fix(anthropic): check malformed thinking_blocks without downloading a remote file_data URL 2026-11-24 00:29:46 -08:00
test_code_interpreter_results_extraction.py feat(anthropic): workload identity federation and pluggable identity sources (#44448) 2026-10-03 17:08:30 -07:00
test_transformation.py test: move whole-unit legacy test files into tests/unit and delete dead skips (#44807) 2026-10-07 05:02:28 +00:00