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]

ui networking list all teams (#5851)

Ishaan Jaff47d36e3c798a
diff --git a/ui/litellm-dashboard/src/components/networking.tsx b/ui/litellm-dashboard/src/components/networking.tsx
index 24d6d71fb99..fb959d380ff 100644
--- a/ui/litellm-dashboard/src/components/networking.tsx
+++ b/ui/litellm-dashboard/src/components/networking.tsx
@@ -572,7 +572,9 @@ export const userInfoCall = async (
} else {
// Use /user/info endpoint for individual user info
url = proxyBaseUrl ? `${proxyBaseUrl}/user/info` : `/user/info`;
- if (userID) {
+ if (userRole === "Admin" || userRole === "Admin Viewer") {
+ // do nothing
+ } else if (userID) {
url += `?user_id=${userID}`;
}
}