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]

fixing tests

yuneng-jiangf9bdc20be2be
diff --git a/ui/litellm-dashboard/src/components/playground/chat_ui/CodeSnippets.test.tsx b/ui/litellm-dashboard/src/components/playground/chat_ui/CodeSnippets.test.tsx
index 56c5fd404e3..0113f7b2832 100644
--- a/ui/litellm-dashboard/src/components/playground/chat_ui/CodeSnippets.test.tsx
+++ b/ui/litellm-dashboard/src/components/playground/chat_ui/CodeSnippets.test.tsx
@@ -34,7 +34,8 @@ describe("CodeSnippets", () => {
selectedTags: [],
selectedVectorStores: [],
selectedGuardrails: [],
- selectedMCPTools: [],
+ selectedPolicies: [],
+ selectedMCPServers: [],
selectedSdk: "openai" as const,
selectedVoice: "alloy",
};
diff --git a/ui/litellm-dashboard/src/components/playground/llm_calls/chat_completion.test.tsx b/ui/litellm-dashboard/src/components/playground/llm_calls/chat_completion.test.tsx
index dd23e0591ea..8786e022013 100644
--- a/ui/litellm-dashboard/src/components/playground/llm_calls/chat_completion.test.tsx
+++ b/ui/litellm-dashboard/src/components/playground/llm_calls/chat_completion.test.tsx
@@ -95,7 +95,8 @@ describe("chat_completion", () => {
undefined, // traceId
undefined, // vector_store_ids
undefined, // guardrails
- undefined, // selectedMCPTools
+ undefined, // policies
+ undefined, // selectedMCPServers
undefined, // onImageGenerated
undefined, // onSearchResults
0.7, // temperature
@@ -157,6 +158,7 @@ describe("chat_completion", () => {
undefined, // traceId
undefined, // vector_store_ids
undefined, // guardrails
+ undefined, // policies
selectedMCPServers,
undefined, // onImageGenerated
undefined, // onSearchResults
diff --git a/ui/litellm-dashboard/src/components/playground/llm_calls/responses_api.test.tsx b/ui/litellm-dashboard/src/components/playground/llm_calls/responses_api.test.tsx
index 569c9878243..f14ac52b840 100644
--- a/ui/litellm-dashboard/src/components/playground/llm_calls/responses_api.test.tsx
+++ b/ui/litellm-dashboard/src/components/playground/llm_calls/responses_api.test.tsx
@@ -102,21 +102,22 @@ describe("responses_api", () => {
mockUpdateTextUI,
"gpt-4",
"test-token",
- undefined,
- undefined,
- undefined,
- undefined,
- undefined,
- undefined,
- undefined,
- undefined,
+ undefined, // tags
+ undefined, // signal
+ undefined, // onReasoningContent
+ undefined, // onTimingData
+ undefined, // onUsageData
+ undefined, // traceId
+ undefined, // vector_store_ids
+ undefined, // guardrails
+ undefined, // policies
selectedMCPServers,
- undefined,
- undefined,
- undefined,
- undefined,
- undefined,
- undefined,
+ undefined, // previousResponseId
+ undefined, // onResponseId
+ undefined, // onMCPEvent
+ undefined, // codeInterpreterEnabled
+ undefined, // onCodeInterpreterResult
+ undefined, // customBaseUrl
mcpServers,
mcpServerToolRestrictions,
);