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]

Remove duplicated entry in logs on key cache update (#12032)

Daniele Scasciafratte24816fe47029
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py
index 299d244c8e3..2bbcae46abd 100644
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@ -1053,9 +1053,6 @@ async def update_cache( # noqa: PLR0915
verbose_proxy_logger.debug(
f"_update_key_cache: existing_spend_obj={existing_spend_obj}"
)
- verbose_proxy_logger.debug(
- f"_update_key_cache: existing spend: {existing_spend_obj}"
- )
if existing_spend_obj is None:
return
else: