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
fix(ui): don't overwrite vector_store_ids with empty array on model edit
Ryan Crabbe91d88737b40a
diff --git a/ui/litellm-dashboard/src/components/model_info_view.tsx b/ui/litellm-dashboard/src/components/model_info_view.tsxindex 9e846c83ff3..e14fc0c5f6c 100644--- a/ui/litellm-dashboard/src/components/model_info_view.tsx+++ b/ui/litellm-dashboard/src/components/model_info_view.tsx@@ -265,10 +265,10 @@ export default function ModelInfoView({if (values.guardrails) {updatedLitellmParams.guardrails = values.guardrails;}- if (values.vector_store_ids !== undefined) {- updatedLitellmParams.vector_store_ids = Array.isArray(values.vector_store_ids)- ? values.vector_store_ids- : [];+ if (values.vector_store_ids?.length > 0) {+ updatedLitellmParams.vector_store_ids = values.vector_store_ids;+ } else {+ delete updatedLitellmParams.vector_store_ids;}// Handle cache control settings