ui new build

This commit is contained in:
Ishaan Jaff 2025-01-29 18:01:55 -08:00
parent 33470e15b4
commit bce8c74810
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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