From 06efc7631db57faa455b369d72a06bbc1f5f5e3b Mon Sep 17 00:00:00 2001 From: Francesco Bertolotti Date: Wed, 12 Nov 2025 04:13:42 +0100 Subject: [PATCH] Update model logging format for custom LLM provider (#16485) This avoids the annoying red message ``` Provider List: https://docs.litellm.ai/docs/providers ``` when there is a cache hit. --- litellm/caching/caching_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/caching/caching_handler.py b/litellm/caching/caching_handler.py index 6bbc3231224..628ee118e9c 100644 --- a/litellm/caching/caching_handler.py +++ b/litellm/caching/caching_handler.py @@ -314,7 +314,7 @@ class LLMCachingHandler: ) self._update_litellm_logging_obj_environment( logging_obj=logging_obj, - model=model, + model=f"{custom_llm_provider}/{model}", kwargs=kwargs, cached_result=cached_result, is_async=False,