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 test

yuneng-jiangccfc53e7c56a
diff --git a/ui/litellm-dashboard/src/components/public_model_hub.test.tsx b/ui/litellm-dashboard/src/components/public_model_hub.test.tsx
index 47a44fa5147..5b669e5d63e 100644
--- a/ui/litellm-dashboard/src/components/public_model_hub.test.tsx
+++ b/ui/litellm-dashboard/src/components/public_model_hub.test.tsx
@@ -27,6 +27,10 @@ vi.mock("./networking", async (importOriginal) => {
};
});
+vi.mock("./navbar", () => ({
+ default: vi.fn(() => <div data-testid="navbar">Navbar Component</div>),
+}));
+
beforeAll(() => {
Object.defineProperty(window, "matchMedia", {
writable: true,