remove unused key count

This commit is contained in:
Sameer Kankute 2026-04-27 18:49:15 +05:30
parent 693b847c93
commit 8a56bca8f5
No known key found for this signature in database

View file

@ -923,7 +923,6 @@ class ProxyBaseLLMRequestProcessing:
return
_payload_str = json.dumps(self.data, default=str)
if len(_payload_str) > MAX_PAYLOAD_SIZE_FOR_DEBUG_LOG:
_key_count = len(self.data) if isinstance(self.data, dict) else 0
verbose_proxy_logger.debug(
"Request received by LiteLLM: payload too large to log (%d bytes, limit %d). Dict key count: %d; type: %s",
len(_payload_str),