Skip to content

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]

fix: spend tags endpoint

mubashir1osmani8e4df83a321d
diff --git a/litellm/proxy/spend_tracking/spend_management_endpoints.py b/litellm/proxy/spend_tracking/spend_management_endpoints.py
index 952d680cfc4..7376c3a402b 100644
--- a/litellm/proxy/spend_tracking/spend_management_endpoints.py
+++ b/litellm/proxy/spend_tracking/spend_management_endpoints.py
@@ -149,13 +149,6 @@ async def view_spend_tags(
```
"""
- try:
- from enterprise.utils import get_spend_by_tags
- except ImportError:
- raise Exception(
- "Trying to use Spend by Tags"
- + CommonProxyErrors.missing_enterprise_package_docker.value
- )
from litellm.proxy.proxy_server import prisma_client
try: