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 4eefde584c..48a8bf816f 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 = ({ - 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 diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsx index 2cd3c91e04..4c68e67558 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 = ({ 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