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]

renamed teams component to TeamsView

Achintya Rajan7d0088952ed8
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/teams/teams.tsx b/ui/litellm-dashboard/src/app/(dashboard)/teams/TeamsView.tsx
similarity index 99%
rename from ui/litellm-dashboard/src/app/(dashboard)/teams/teams.tsx
rename to ui/litellm-dashboard/src/app/(dashboard)/teams/TeamsView.tsx
index 543955982ff..c71bd899ac4 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/teams/teams.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/teams/TeamsView.tsx
@@ -50,7 +50,7 @@ interface PerTeamInfo {
team_info: TeamInfo;
}
-const Teams: React.FC<TeamProps> = ({
+const TeamsView: React.FC<TeamProps> = ({
teams,
accessToken,
setTeams,
@@ -360,4 +360,4 @@ const Teams: React.FC<TeamProps> = ({
);
};
-export default Teams;
+export default TeamsView;
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/teams/page.tsx b/ui/litellm-dashboard/src/app/(dashboard)/teams/page.tsx
index 531caabd12a..041c50dd32a 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/teams/page.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/teams/page.tsx
@@ -1,6 +1,6 @@
"use client";
-import Teams from "@/app/(dashboard)/teams/teams";
+import TeamsView from "@/app/(dashboard)/teams/TeamsView";
import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";
import useTeams from "@/app/(dashboard)/hooks/useTeams";
import { useEffect, useState } from "react";
@@ -17,7 +17,7 @@ const TeamsPage = () => {
}, [accessToken]);
return (
- <Teams
+ <TeamsView
teams={teams}
accessToken={accessToken}
setTeams={setTeams}
diff --git a/ui/litellm-dashboard/src/app/page.tsx b/ui/litellm-dashboard/src/app/page.tsx
index d7262afefb9..263e218c184 100644
--- a/ui/litellm-dashboard/src/app/page.tsx
+++ b/ui/litellm-dashboard/src/app/page.tsx
@@ -10,7 +10,7 @@ import { ThemeProvider } from "@/contexts/ThemeContext";
import UserDashboard from "@/components/user_dashboard";
import ModelDashboard from "@/components/templates/model_dashboard";
import ViewUserDashboard from "@/components/view_users";
-import Teams from "@/app/(dashboard)/teams/teams";
+import TeamsView from "@/app/(dashboard)/teams/TeamsView";
import Organizations from "@/components/organizations";
import { fetchOrganizations } from "@/components/organizations";
import AdminPanel from "@/components/admins";
@@ -376,7 +376,7 @@ export default function CreateKeyPage() {
setKeys={setKeys}
/>
) : page == "teams" ? (
- <Teams
+ <TeamsView
teams={teams}
setTeams={setTeams}
accessToken={accessToken}