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): stub fetch without a type suppression in interactions playground test
mateob989e3bd0ad4
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/interactions_api.test.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/interactions_api.test.tsxindex b037763c79b..af862063c9c 100644--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/interactions_api.test.tsx+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/interactions_api.test.tsx@@ -23,12 +23,12 @@ describe("interactions_api", () => {const mockFetch = vi.fn();beforeEach(() => {- // @ts-ignore - assigning to global for test environment- global.fetch = mockFetch;+ vi.stubGlobal("fetch", mockFetch);});afterEach(() => {vi.clearAllMocks();+ vi.unstubAllGlobals();});it("parses native Gemini step events and captures the nested interaction model", async () => {