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
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.tsxindex 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.tsxindex 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, // traceIdundefined, // vector_store_idsundefined, // guardrails- undefined, // selectedMCPTools+ undefined, // policies+ undefined, // selectedMCPServersundefined, // onImageGeneratedundefined, // onSearchResults0.7, // temperature@@ -157,6 +158,7 @@ describe("chat_completion", () => {undefined, // traceIdundefined, // vector_store_idsundefined, // guardrails+ undefined, // policiesselectedMCPServers,undefined, // onImageGeneratedundefined, // onSearchResultsdiff --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.tsxindex 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, // policiesselectedMCPServers,- undefined,- undefined,- undefined,- undefined,- undefined,- undefined,+ undefined, // previousResponseId+ undefined, // onResponseId+ undefined, // onMCPEvent+ undefined, // codeInterpreterEnabled+ undefined, // onCodeInterpreterResult+ undefined, // customBaseUrlmcpServers,mcpServerToolRestrictions,);