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.
This commit is contained in:
Francesco Bertolotti 2025-11-12 04:13:42 +01:00 committed by GitHub
parent bd15250960
commit 06efc7631d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,