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(model_dashboard.tsx): fix query

Krrish Dholakia6745e9f3f56e
diff --git a/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx b/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx
index 2eff0bf3e36..759ecc0af24 100644
--- a/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx
+++ b/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx
@@ -635,7 +635,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
let all_end_users_data = await allEndUsersCall(accessToken)
- setAllEndUsers(all_end_users_data?.end_users)
+ setAllEndUsers(all_end_users_data?.map((u: any) => u.user_id))
const routerSettingsInfo = await getCallbacksCall(accessToken, userID, userRole)