fix: gemini model info (#14282)
This commit is contained in:
parent
ce545274a6
commit
28add22f20
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ const ModelList = ({
|
||||||
detail,
|
detail,
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
const { t } = useTranslation()
|
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)
|
if (!res)
|
||||||
return null
|
return null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue