mirror of
https://github.com/langgenius/dify.git
synced 2026-03-10 03:00:20 +08:00
fix: gemini model info
This commit is contained in:
parent
ce545274a6
commit
b0a804e22f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user