Chore/model icon url (#9218)

Co-authored-by: takatost <takatost@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
This commit is contained in:
zxhlyh
2024-10-11 12:33:34 +08:00
committed by GitHub
parent 1c1e008dcf
commit d498f4e55e
3 changed files with 5 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ const ModelIcon: FC<ModelIconProps> = ({
return (
<img
alt='model-icon'
src={`${provider.icon_small[language] || provider.icon_small.en_US}?_token=${localStorage.getItem('console_token')}`}
src={`${provider.icon_small[language] || provider.icon_small.en_US}`}
className={`w-4 h-4 ${className}`}
/>
)

View File

@@ -16,7 +16,7 @@ const ProviderIcon: FC<ProviderIconProps> = ({
return (
<img
alt='provider-icon'
src={`${provider.icon_large[language] || provider.icon_large.en_US}?_token=${localStorage.getItem('console_token')}`}
src={`${provider.icon_large[language] || provider.icon_large.en_US}`}
className={`w-auto h-6 ${className}`}
/>
)