From ec3b0d0d0bc39fbfb67c0a20d501bcfaeaf9e712 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 2 Aug 2024 15:07:05 -0700 Subject: [PATCH] return cache hit True on cache hits --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/utils.py b/litellm/utils.py index 241f70abd..bc32aca73 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,