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
set default value for mcp namespace tool name to prevent duplicate entry in table (#12894)
Shao-Kan Chuc2f69374558c
diff --git a/litellm/proxy/db/db_spend_update_writer.py b/litellm/proxy/db/db_spend_update_writer.pyindex 79312520407..5f363f36da8 100644--- a/litellm/proxy/db/db_spend_update_writer.py+++ b/litellm/proxy/db/db_spend_update_writer.py@@ -893,7 +893,7 @@ class DBSpendUpdateWriter:"model_group": transaction.get("model_group"),"mcp_namespaced_tool_name": transaction.get("mcp_namespaced_tool_name"- ),+ ) or "","custom_llm_provider": transaction.get("custom_llm_provider"),