litellm/tests/unit/llms/anthropic
kenneth-berri 4cd8f9174d
fix(anthropic): close strict JSON schemas on the Messages to Responses bridge (#51337)
* fix(anthropic): close strict JSON schemas on the Messages to Responses bridge

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* perf(anthropic): copy each strict schema subtree once

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(anthropic): close nullable objects in strict JSON schemas

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-12 06:15:14 +00:00
..
batches
chat feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
files
messages fix(anthropic): close strict JSON schemas on the Messages to Responses bridge (#51337) 2026-11-12 06:15:14 +00:00
pass_through refactor(anthropic): rename llms/anthropic/pass_through to llms/anthropic/messages (#48510) 2026-10-27 10:08:25 -07:00
__init__.py
anthropic_docs_refusal.py
test_anthropic_common_utils.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
test_anthropic_count_tokens_transformation.py fix(anthropic): send an https PDF image_url to Claude as a document (#49708) 2026-11-03 07:05:15 +00:00
test_anthropic_files_and_batches.py
test_anthropic_output_format_filter.py
test_anthropic_prompt_cache_prediction.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
test_anthropic_prompt_cache_pricing.py
test_anthropic_reasoning_effort.py fix(anthropic): disable optional default thinking for reasoning effort none (#50541) 2026-11-07 12:51:37 -08:00
test_anthropic_schema_filter.py
test_anthropic_structured_output.py
test_anthropic_wif.py fix(anthropic): exchange Google identity tokens again on refresh and read oidc/ references out of ANTHROPIC_IDENTITY_TOKEN (#50583) 2026-11-07 16:48:48 -08:00
test_azure_ai_cache_pricing.py
test_cost_calculation_dict_safety.py
test_count_tokens_oauth.py fix(count_tokens): count a history that carries a compaction block (#44784) 2026-10-30 00:11:55 -07:00
test_message_sanitization.py fix(anthropic): stop injecting empty-content placeholder into tool-call-only assistant turns (#34822) 2026-10-24 13:48:29 -07:00
test_messages_http_error_retry_cases.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00