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]

test(ui): use the current deployment affinity label

Tin Chi Lo914ae9b248e0
diff --git a/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx b/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx
index 646e83a773b..0bb3340ac09 100644
--- a/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx
+++ b/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx
@@ -105,7 +105,7 @@ describe("EditAutoRouterModal keyword matching", () => {
expect(screen.queryByText("Advanced: Compression")).not.toBeInTheDocument();
expect(screen.queryByText("Model Access Groups")).not.toBeInTheDocument();
await user.click(screen.getByText("Advanced: Affinity"));
- await user.click(await screen.findByRole("switch", { name: "Pin a session to one deployment per model group" }));
+ await user.click(await screen.findByRole("switch", { name: "Pin one model deployment per tier" }));
await user.click(screen.getByRole("button", { name: /save changes/i }));
await waitFor(() => expect(modelPatchUpdateCall).toHaveBeenCalled());
expect(modelPatchUpdateCall).toHaveBeenLastCalledWith(