mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix place holders on adding new models
This commit is contained in:
parent
ecf63e655e
commit
49cd8171a6
1 changed files with 3 additions and 3 deletions
|
|
@ -1699,7 +1699,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
className="mb-0"
|
||||
>
|
||||
<TextInput
|
||||
placeholder={getPlaceholder(selectedProvider.toString())}
|
||||
|
||||
/>
|
||||
</Form.Item>
|
||||
<Row>
|
||||
|
|
@ -1718,7 +1718,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
className="mb-0"
|
||||
>
|
||||
{selectedProvider === Providers.Azure ? (
|
||||
<TextInput placeholder="Enter model name" />
|
||||
<TextInput placeholder={getPlaceholder(selectedProvider.toString())} />
|
||||
) : providerModels.length > 0 ? (
|
||||
<MultiSelect value={providerModels}>
|
||||
{providerModels.map((model, index) => (
|
||||
|
|
@ -1728,7 +1728,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
))}
|
||||
</MultiSelect>
|
||||
) : (
|
||||
<TextInput placeholder="gpt-3.5-turbo-0125" />
|
||||
<TextInput placeholder={getPlaceholder(selectedProvider.toString())} />
|
||||
)}
|
||||
</Form.Item>
|
||||
<Row>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue