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]

Merge pull request #22316 from atapia27/reusable-credential-change

yuneng-jiange331d86f2612
diff --cc ui/litellm-dashboard/src/components/model_info_view.tsx
index 40c1a3a386a,b8a5cb10fa1..9e846c83ff3
--- a/ui/litellm-dashboard/src/components/model_info_view.tsx
+++ b/ui/litellm-dashboard/src/components/model_info_view.tsx
@@@ -612,12 -625,18 +631,21 @@@ export default function ModelInfoView(
guardrails: Array.isArray(localModelData.litellm_params?.guardrails)
? localModelData.litellm_params.guardrails
: [],
+ vector_store_ids: Array.isArray(localModelData.litellm_params?.vector_store_ids)
+ ? localModelData.litellm_params.vector_store_ids
+ : [],
tags: Array.isArray(localModelData.litellm_params?.tags) ? localModelData.litellm_params.tags : [],
health_check_model: isWildcardModel ? localModelData.model_info?.health_check_model : null,
- litellm_extra_params: JSON.stringify(localModelData.litellm_params || {}, null, 2),
+ litellm_credential_name: localModelData.litellm_params?.litellm_credential_name || "",
+ litellm_extra_params: JSON.stringify(
+ Object.fromEntries(
+ Object.entries(localModelData.litellm_params || {}).filter(
+ ([key]) => key !== "litellm_credential_name",
+ ),
+ ),
+ null,
+ 2,
+ ),
}}
layout="vertical"
onValuesChange={() => setIsDirty(true)}