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 ui check when budget is 0 (#6506)

Ishaan Jaffb419170cbdf0
diff --git a/ui/litellm-dashboard/src/components/view_users.tsx b/ui/litellm-dashboard/src/components/view_users.tsx
index 58374a0c84c..0be73ceb307 100644
--- a/ui/litellm-dashboard/src/components/view_users.tsx
+++ b/ui/litellm-dashboard/src/components/view_users.tsx
@@ -267,7 +267,7 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
{user.spend ? user.spend?.toFixed(2) : "-"}
</TableCell>
<TableCell>
- {user.max_budget ? user.max_budget : "Unlimited"}
+ {user.max_budget !== null ? user.max_budget : "Unlimited"}
</TableCell>
<TableCell>
<Grid numItems={2}>