feat: add tests for prompt caching + fix anthropic prompt caching [LET-6373] (#6454)

* feat: add tests for prompt caching

* fix: add cache control breakpoints for anthropic + fix tests

* fix: silence logging

* fix: patch token counting error

* fix: same patch on non-streaming path
This commit is contained in:
Charles Packer
2025-11-29 17:44:18 -08:00
committed by Caren Thomas
parent e862bae524
commit e67c98eedb
3 changed files with 1168 additions and 5 deletions

1093
tests/test_prompt_caching.py Normal file

File diff suppressed because it is too large Load Diff