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
fix(e2e): tolerate trailing slash in SERVER_ROOT_PATH login redirect (#29369)
yuneng-jiang54ed5a4eb518
diff --git a/ui/litellm-dashboard/e2e_tests/tests/login/serverRootPathRedirect.spec.ts b/ui/litellm-dashboard/e2e_tests/tests/login/serverRootPathRedirect.spec.tsindex 62a3e913184..bdef8f85c4e 100644--- a/ui/litellm-dashboard/e2e_tests/tests/login/serverRootPathRedirect.spec.ts+++ b/ui/litellm-dashboard/e2e_tests/tests/login/serverRootPathRedirect.spec.ts@@ -26,7 +26,7 @@ test("unauth redirect preserves SERVER_ROOT_PATH prefix", async ({ page }) => {await page.goto(`http://localhost:4000${ROOT_PATH}/ui/?page=virtual-keys`);- await page.waitForURL((url) => url.pathname.endsWith("/ui/login"), { timeout: 15_000 });+ await page.waitForURL((url) => url.pathname.includes("/ui/login"), { timeout: 15_000 });expect(page.url()).toContain(`${ROOT_PATH}/ui/login`);});