litellm/tests/test_litellm/llms/anthropic
colinlin-stripe 7605062e94
Messages api bedrock converse caching and pdf support (#19785)
* cache control for user messages and system messages

* add cache createion tokens in reponse

* cache controls in tool calls and assistant turns

* refactor with _should_preserve_cache_control

* add cache control unit tests

* use simpler cache creation token count logic

* use helper function

* remove unused function

* fix unit tests
2026-01-26 13:19:56 -08:00
..
chat Fix: anthropic-beta is getting overriden and set to anthropic-beta': 'structured-outputs-2025-11-13', 2026-01-19 16:43:27 +05:30
experimental_pass_through Messages api bedrock converse caching and pdf support (#19785) 2026-01-26 13:19:56 -08:00
test_anthropic_common_utils.py [Feat] Add Support for Claude Code Max/OAuth 2 on LiteLLM AI Gateway (#19453) 2026-01-20 17:21:17 -08:00
test_anthropic_files_and_batches.py Add tests for file and batch feat for anthropic 2025-12-10 17:14:47 +05:30
test_anthropic_structured_output.py Filter out unsupported fields from JSON schema for Anthropic's output_format API. 2026-01-21 15:48:22 +05:30
test_azure_ai_cache_pricing.py [Fix] Anthropic models on Azure AI cache pricing (#19532) (#19614) 2026-01-22 20:00:40 -08:00