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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
chore(ui): remove dead App Router route stubs under (dashboard) (#30045)
ryan-crabbe-berri38edf241a44e
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/page.tsx b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/page.tsxdeleted file mode 100644index 77496aef3e6..00000000000--- a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/page.tsx+++ /dev/null@@ -1,26 +0,0 @@-"use client";--import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";-import useTeams from "@/app/(dashboard)/hooks/useTeams";-import { useState } from "react";-import ModelsAndEndpointsView from "@/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView";--const ModelsAndEndpointsPage = () => {- const { token, premiumUser } = useAuthorized();- const [keys, setKeys] = useState<null | any[]>([]);-- const { teams } = useTeams();-- return (- <ModelsAndEndpointsView- token={token}- modelData={{ data: [] }}- keys={keys}- setModelData={() => {}}- premiumUser={premiumUser}- teams={teams}- />- );-};--export default ModelsAndEndpointsPage;diff --git a/ui/litellm-dashboard/src/app/(dashboard)/organizations/page.tsx b/ui/litellm-dashboard/src/app/(dashboard)/organizations/page.tsxdeleted file mode 100644index 6112fac3161..00000000000--- a/ui/litellm-dashboard/src/app/(dashboard)/organizations/page.tsx+++ /dev/null@@ -1,34 +0,0 @@-"use client";--import Organizations, { fetchOrganizations } from "@/components/organizations";-import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";-import { useEffect, useState } from "react";-import { Organization } from "@/components/networking";-import { fetchUserModels } from "@/components/organisms/create_key_button";--const OrganizationsPage = () => {- const { userId: userID, accessToken, userRole, premiumUser } = useAuthorized();- const [organizations, setOrganizations] = useState<Organization[]>([]);- const [userModels, setUserModels] = useState<string[]>([]);-- useEffect(() => {- fetchOrganizations(accessToken, setOrganizations).then(() => {});- }, [accessToken]);-- useEffect(() => {- fetchUserModels(userID, userRole, accessToken, setUserModels).then(() => {});- }, [userID, userRole, accessToken]);-- return (- <Organizations- organizations={organizations}- userRole={userRole}- userModels={userModels}- accessToken={accessToken}- setOrganizations={setOrganizations}- premiumUser={premiumUser}- />- );-};--export default OrganizationsPage;diff --git a/ui/litellm-dashboard/src/app/(dashboard)/virtual-keys/page.tsx b/ui/litellm-dashboard/src/app/(dashboard)/virtual-keys/page.tsxdeleted file mode 100644index 226616474eb..00000000000--- a/ui/litellm-dashboard/src/app/(dashboard)/virtual-keys/page.tsx+++ /dev/null@@ -1,47 +0,0 @@-"use client";--import { useState } from "react";-import useKeyList from "@/components/key_team_helpers/key_list";-import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";-import UserDashboard from "@/components/user_dashboard";-import useTeams from "@/app/(dashboard)/hooks/useTeams";-import { Organization } from "@/components/networking";--const VirtualKeysPage = () => {- const { accessToken, userRole, userId, premiumUser, userEmail } = useAuthorized();- const { teams, setTeams } = useTeams();- const [createClicked, setCreateClicked] = useState<boolean>(false);- const [organizations, setOrganizations] = useState<Organization[]>([]);-- const { keys, isLoading, error, pagination, refresh, setKeys } = useKeyList({- selectedKeyAlias: null,- currentOrg: null,- accessToken: accessToken || "",- createClicked,- });-- const addKey = (data: any) => {- setKeys((prevData) => (prevData ? [...prevData, data] : [data]));- setCreateClicked(() => !createClicked);- };-- return (- <UserDashboard- userID={userId}- userRole={userRole}- userEmail={userEmail}- teams={teams}- keys={keys}- setUserRole={() => {}}- setUserEmail={() => {}}- setTeams={setTeams}- setKeys={setKeys}- premiumUser={premiumUser}- organizations={organizations}- addKey={addKey}- createClicked={createClicked}- />- );-};--export default VirtualKeysPage;