Skip to content

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]

return cache hit True on cache hits

Ishaan Jaffec3b0d0d0bc3
diff --git a/litellm/utils.py b/litellm/utils.py
index 241f70abd9c..bc32aca73c8 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -1214,6 +1214,7 @@ def client(original_function):
hidden_params = {
"model": "whisper-1",
"custom_llm_provider": custom_llm_provider,
+ "cache_hit": True,
}
cached_result = convert_to_model_response_object(
response_object=cached_result,