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): await the playground model combobox before clicking it (#36850)
yuneng-jiang0896015927ca
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.test.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.test.tsxindex 24c56b276af..9d9c5dc86ab 100644--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.test.tsx+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.test.tsx@@ -35,7 +35,7 @@ const STREAMING_ENABLED_ARG_INDEX = 25;async function openComboboxByPlaceholder(placeholder: string) {const user = userEvent.setup();- const combobox = screen.getByPlaceholderText(placeholder);+ const combobox = await screen.findByPlaceholderText(placeholder);await user.click(combobox);return combobox;}