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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: linting error
mateo-berria1b4330c18e2
diff --git a/litellm/proxy/hooks/proxy_track_cost_callback.py b/litellm/proxy/hooks/proxy_track_cost_callback.pyindex ad32b18a543..67f702e31a2 100644--- a/litellm/proxy/hooks/proxy_track_cost_callback.py+++ b/litellm/proxy/hooks/proxy_track_cost_callback.py@@ -88,9 +88,7 @@ class _ProxyDBLogger(CustomLogger):# noisy ``"traceback": ""`` line. Downstream consumers all use# ``.get("traceback")`` / truthy checks, and the TypedDict marks# the field as optional, so omitting is type-safe.- _error_information = {- k: v for k, v in _error_information.items() if k != "traceback"- }+ _error_information.pop("traceback", None)_metadata["error_information"] = _error_information_metadata = await _ProxyDBLogger._enrich_failure_metadata_with_key_info(