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
address greptile review feedback (greploop iteration 3)
yuneng-jiang2cabbccf6f82
diff --git a/litellm/proxy/db/db_spend_update_writer.py b/litellm/proxy/db/db_spend_update_writer.pyindex 4a8c9d33d9f..d7d6b2b1eb0 100644--- a/litellm/proxy/db/db_spend_update_writer.py+++ b/litellm/proxy/db/db_spend_update_writer.py@@ -351,11 +351,12 @@ class DBSpendUpdateWriter:except Exception as e:verbose_proxy_logger.error("Spend tracking - failed to enqueue team member spend update. "- "team_id=%s, user_id=%s, response_cost=%s - %s",+ "team_id=%s, user_id=%s, response_cost=%s - %s\n%s",team_id,user_id,response_cost,str(e),+ traceback.format_exc(),)except Exception as e:verbose_proxy_logger.error(