mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
ui fix allow setting custom model name for OpenAI compatible
This commit is contained in:
parent
e285781b6e
commit
d04e2dc2f1
1 changed files with 1 additions and 1 deletions
|
|
@ -1717,7 +1717,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
tooltip="Actual model name used for making litellm.completion() call."
|
||||
className="mb-0"
|
||||
>
|
||||
{selectedProvider === Providers.Azure ? (
|
||||
{ (selectedProvider === Providers.Azure) || (selectedProvider === Providers.OpenAI_Compatible) || (selectedProvider === Providers.Ollama) ? (
|
||||
<TextInput placeholder={getPlaceholder(selectedProvider.toString())} />
|
||||
) : providerModels.length > 0 ? (
|
||||
<MultiSelect value={providerModels}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue