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
test(ui): name the mocked user list body to stay within the inline-object lint budget
ryan792852b4f362
diff --git a/ui/litellm-dashboard/src/components/networking.test.ts b/ui/litellm-dashboard/src/components/networking.test.tsindex 8dcd8c39d9d..7a220dd4711 100644--- a/ui/litellm-dashboard/src/components/networking.test.ts+++ b/ui/litellm-dashboard/src/components/networking.test.ts@@ -824,7 +824,8 @@ describe("userListCall search serialization", () => {});const mockOkFetch = () => {- const body = JSON.stringify({ users: [], total: 0, page: 1, page_size: 25, total_pages: 0 });+ const emptyPage = { users: [], total: 0, page: 1, page_size: 25, total_pages: 0 };+ const body = JSON.stringify(emptyPage);const mockFetch = vi.fn().mockResolvedValue({ ok: true, text: vi.fn().mockResolvedValue(body) } as any);global.fetch = mockFetch as any;return mockFetch;