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]

ui new build

Ishaan Jaffbce8c748101e
diff --git a/ui/litellm-dashboard/src/components/add_model/litellm_model_name.tsx b/ui/litellm-dashboard/src/components/add_model/litellm_model_name.tsx
index 4eefde584c0..48a8bf816f9 100644
--- a/ui/litellm-dashboard/src/components/add_model/litellm_model_name.tsx
+++ b/ui/litellm-dashboard/src/components/add_model/litellm_model_name.tsx
@@ -96,7 +96,7 @@ const LiteLLMModelNameField: React.FC<LiteLLMModelNameFieldProps> = ({
<Col span={10}></Col>
<Col span={10}>
<Text className="mb-3 mt-1">
- Actual model name used for making litellm.completion() call. We'll loadbalance models with the same 'public name'
+ Actual model name used for making litellm.completion() call. We loadbalance models with the same public name
</Text>
</Col>
</Row>
diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsx
index 2cd3c91e04d..4c68e67558c 100644
--- a/ui/litellm-dashboard/src/components/model_dashboard.tsx
+++ b/ui/litellm-dashboard/src/components/model_dashboard.tsx
@@ -1782,9 +1782,9 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
value={selectedProvider as string}
onChange={(value) => {
// Set the selected provider
- setSelectedProvider(value);
+ setSelectedProvider(value as unknown as string);
// Update provider-specific models
- setProviderModelsFn(provider_map[value]);
+ setProviderModelsFn(provider_map[value as unknown as string]);
// Reset the 'model' field
form.setFieldsValue({ model: [] });
// Reset the 'model_name' field