mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
* fix(caching): keep the otel span out of the response cache key The caching handler adds the request's parent_otel_span to the call kwargs. It was not registered as a LiteLLM-owned kwarg, so with enable_caching_on_provider_specific_optional_params on, the span repr (with a new trace id per request) went into the cache key and the cache never hit. Fixes #48712 * fix(logging): carry claude_subscription_usage through the Rust standard logging payload #52901 added claude_subscription_usage to the standard logging metadata but left the Rust litellm-standard-logging crate and the pinned logging fixtures without it, so the S3 golden, GCS pub/sub, spend log and standard logging document tests failed. Add the typed field to the Rust payload, a test that a non-null value serializes the way Python logs it, and the null field to the recorded fixtures. --------- Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _event_loop_reuse.py | ||
| redis_batch_double.py | ||
| test_azure_blob_cache.py | ||
| test_cache_preset_key.py | ||
| test_caching.py | ||
| test_caching_handler.py | ||
| test_check_and_fix_namespace_none_guard.py | ||
| test_dual_cache.py | ||
| test_embedding_router.py | ||
| test_evicted_client_closer.py | ||
| test_gcs_cache.py | ||
| test_in_memory_cache.py | ||
| test_llm_caching_handler.py | ||
| test_llm_client_cache_e2e.py | ||
| test_qdrant_semantic_cache.py | ||
| test_redis_batch.py | ||
| test_redis_cache.py | ||
| test_redis_cluster_cache.py | ||
| test_redis_cluster_node_isolation.py | ||
| test_redis_connection_pool.py | ||
| test_redis_semantic_cache.py | ||
| test_request_redis_batch_post_call.py | ||
| test_request_redis_batch_pre_call.py | ||
| test_responses_stream_cache_keys.py | ||
| test_s3_cache.py | ||
| test_unit_test_caching.py | ||
| test_valkey_semantic_cache.py | ||