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
Revert "test fixes"
yuneng-jiang13848530b768
diff --git a/litellm/proxy/spend_tracking/spend_tracking_utils.py b/litellm/proxy/spend_tracking/spend_tracking_utils.pyindex e3d774190bf..2dde15c4cce 100644--- a/litellm/proxy/spend_tracking/spend_tracking_utils.py+++ b/litellm/proxy/spend_tracking/spend_tracking_utils.py@@ -380,7 +380,7 @@ def get_logging_payload( # noqa: PLR0915model=kwargs.get("model", "") or "",user=metadata.get("user_api_key_user_id", "") or "",team_id=metadata.get("user_api_key_team_id", "") or "",- organization_id=metadata.get("user_api_key_org_id") or None,+ organization_id=metadata.get("user_api_key_org_id") or "",metadata=safe_dumps(clean_metadata),cache_key=cache_key,spend=kwargs.get("response_cost", 0),