fix: gemini model info (#14282)

This commit is contained in:
zxhlyh 2025-02-25 10:48:07 +08:00 committed by GitHub
parent ce545274a6
commit 28add22f20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ const ModelList = ({
detail,
}: Props) => {
const { t } = useTranslation()
const { data: res } = useModelProviderModelList(`${detail.plugin_id}/${detail.name}`)
const { data: res } = useModelProviderModelList(`${detail.plugin_id}/${detail.name === 'gemini' ? 'google' : detail.name}`)
if (!res)
return null