Skip to content

feat(anthropic): add enable_anthropic_prompt_caching for automatic cache_control injection - #33573

Merged
tin-berri merged 4 commits into
litellm_internal_stagingfrom
litellm_lit4478_anthropic_auto_cache
Jul 17, 2026
Merged

tin-berri merged 4 commits into
litellm_internal_stagingfrom
litellm_lit4478_anthropic_auto_cache

refactor(anthropic): use PEP 604 unions in the auto prompt-caching hook

7bcb3a2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 17, 2026 in 0s

92.18% of diff hit (target 69.20%)

View this Pull Request on Codecov

92.18% of diff hit (target 69.20%)