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]

fixing build

yuneng-jiang4de05d1e8df8
diff --git a/ui/litellm-dashboard/src/components/ModelSelect/ModelSelect.test.tsx b/ui/litellm-dashboard/src/components/ModelSelect/ModelSelect.test.tsx
index 4afc6ea7d27..1c4bae557a6 100644
--- a/ui/litellm-dashboard/src/components/ModelSelect/ModelSelect.test.tsx
+++ b/ui/litellm-dashboard/src/components/ModelSelect/ModelSelect.test.tsx
@@ -1,11 +1,10 @@
-import { describe, it, expect, vi, beforeEach } from "vitest";
+import type { ProxyModel } from "@/app/(dashboard)/hooks/models/useModels";
+import type { Organization } from "@/components/networking";
import { screen, waitFor } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
+import { beforeEach, describe, expect, it, vi } from "vitest";
import { renderWithProviders } from "../../../tests/test-utils";
import { ModelSelect } from "./ModelSelect";
-import type { ProxyModel } from "@/app/(dashboard)/hooks/models/useModels";
-import type { Organization } from "@/components/networking";
-import type { Team } from "@/components/key_team_helpers/key_list";
vi.mock("@/app/(dashboard)/hooks/models/useModels", () => ({
useAllProxyModels: vi.fn(),
@@ -70,8 +69,8 @@ vi.mock("antd", async (importOriginal) => {
});
import { useAllProxyModels } from "@/app/(dashboard)/hooks/models/useModels";
-import { useTeam } from "@/app/(dashboard)/hooks/teams/useTeams";
import { useOrganization } from "@/app/(dashboard)/hooks/organizations/useOrganizations";
+import { useTeam } from "@/app/(dashboard)/hooks/teams/useTeams";
const mockUseAllProxyModels = vi.mocked(useAllProxyModels);
const mockUseTeam = vi.mocked(useTeam);