The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(caching.py): support /completion caching by default
Krrish Dholakia31445ab20a28
diff --git a/litellm/caching.py b/litellm/caching.pyindex 557a029d31f..fa10095da21 100644--- a/litellm/caching.py+++ b/litellm/caching.py@@ -1692,6 +1692,8 @@ class Cache:"aembedding","atranscription","transcription",+ "atext_completion",+ "text_completion",]]] = [@@ -1701,6 +1703,8 @@ class Cache:"aembedding","atranscription","transcription",+ "atext_completion",+ "text_completion",],# s3 Bucket, boto3 configurations3_bucket_name: Optional[str] = None,@@ -2235,6 +2239,8 @@ def enable_cache("aembedding","atranscription","transcription",+ "atext_completion",+ "text_completion",]]] = [@@ -2244,6 +2250,8 @@ def enable_cache("aembedding","atranscription","transcription",+ "atext_completion",+ "text_completion",],**kwargs,):@@ -2300,6 +2308,8 @@ def update_cache("aembedding","atranscription","transcription",+ "atext_completion",+ "text_completion",]]] = [@@ -2309,6 +2319,8 @@ def update_cache("aembedding","atranscription","transcription",+ "atext_completion",+ "text_completion",],**kwargs,):