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]

Unit tests

yuneng-jiang5496e622c14e
diff --git a/ui/litellm-dashboard/tests/CreateKeyPage.expiredToken.test.tsx b/ui/litellm-dashboard/tests/CreateKeyPage.expiredToken.test.tsx
index 9287e203182..c3c5ae59237 100644
--- a/ui/litellm-dashboard/tests/CreateKeyPage.expiredToken.test.tsx
+++ b/ui/litellm-dashboard/tests/CreateKeyPage.expiredToken.test.tsx
@@ -193,7 +193,7 @@ describe("CreateKeyPage auth behavior", () => {
// Assert: we eventually redirect to SSO login (single replace, not assign/href)
await waitFor(() => {
- expect(window.location.replace).toHaveBeenCalledWith("https://example.com/sso/key/generate");
+ expect(window.location.replace).toHaveBeenCalledWith("https://example.com/ui/login");
});
// And we attempted to clear the cookie (defensive deletion)