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): update useModelsInfo call assertions for the new filter arguments

ryanc911740d8292
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/hooks/models/useModels.test.ts b/ui/litellm-dashboard/src/app/(dashboard)/hooks/models/useModels.test.ts
index 7231c126a63..cfafe82ee30 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/hooks/models/useModels.test.ts
+++ b/ui/litellm-dashboard/src/app/(dashboard)/hooks/models/useModels.test.ts
@@ -119,6 +119,8 @@ describe("useModelsInfo", () => {
// every other consumer of this hook keeps seeing auto-routers.
false,
undefined,
+ undefined,
+ false,
);
expect(modelInfoCall).toHaveBeenCalledTimes(1);
});
@@ -147,6 +149,8 @@ describe("useModelsInfo", () => {
// every other consumer of this hook keeps seeing auto-routers.
false,
undefined,
+ undefined,
+ false,
);
});