Skip to content

fix(litellm): trace prompt caching metrics - #704

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi-litellm-prompt-caching
Aug 19, 2026
Merged

fix(litellm): trace prompt caching metrics#704
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi-litellm-prompt-caching

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

resolves https://linear.app/braintrustdata/issue/SDK-188/native-support-for-prompt-caching-metrics-when-using-litellm-gateway

Normalize cache reads and cache creation, including TTL-specific breakdowns, to Braintrust metric names without duplicate aggregate writes. Add cassette-backed coverage for cache creation and reuse across supported LiteLLM versions.

Normalize cache reads and cache creation, including TTL-specific breakdowns, to Braintrust metric names without duplicate aggregate writes. Add cassette-backed coverage for cache creation and reuse across supported LiteLLM versions.
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit eab1c68 into main Aug 19, 2026
83 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi-litellm-prompt-caching branch August 19, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants