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]

added badge

tanjiro948b05da8646
diff --git a/ui/litellm-dashboard/src/components/view_users/user_info_view.tsx b/ui/litellm-dashboard/src/components/view_users/user_info_view.tsx
index d416df2d9b0..823baaf64ef 100644
--- a/ui/litellm-dashboard/src/components/view_users/user_info_view.tsx
+++ b/ui/litellm-dashboard/src/components/view_users/user_info_view.tsx
@@ -284,7 +284,17 @@ export default function UserInfoView({
<Card>
<Text>Teams</Text>
<div className="mt-2">
- <Text>{userData.teams?.length || 0} teams</Text>
+ {userData.teams?.length && userData.teams?.length > 0 ? (
+ <div className="flex flex-wrap gap-2">
+ {userData.teams?.map((team, index) => (
+ <Badge key={index} color="blue">
+ {team.team_alias}
+ </Badge>
+ ))}
+ </div>
+ ) : (
+ <Text>No teams</Text>
+ )}
</div>
</Card>