Fix/2969 add model provider ollama not work (#2973)

This commit is contained in:
crazywoola
2024-03-26 10:26:34 +08:00
committed by GitHub
parent 7c8c233cf4
commit eeaa3c1643
9 changed files with 309 additions and 133 deletions

View File

@@ -25,7 +25,7 @@ const ProviderIcon: FC<ProviderIconProps> = ({
return (
<div className={`inline-flex items-center ${className}`}>
<div className='text-xs font-semibold text-black'>
{provider.label[language]}
{provider.label[language] || provider.label.en_US}
</div>
</div>
)