Fix/2969 add model provider ollama not work (#2973)
This commit is contained in:
parent
7c8c233cf4
commit
eeaa3c1643
9 changed files with 309 additions and 133 deletions
|
|
@ -219,7 +219,7 @@ const ModelModal: FC<ModelModalProps> = ({
|
|||
const renderTitlePrefix = () => {
|
||||
const prefix = configurateMethod === ConfigurateMethodEnum.customizableModel ? t('common.operation.add') : t('common.operation.setup')
|
||||
|
||||
return `${prefix} ${provider.label[language]}`
|
||||
return `${prefix} ${provider.label[language] || provider.label.en_US}`
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue