Browse Source

fix: gemini model info (#14282)

tags/1.0.0
zxhlyh 8 months ago
parent
commit
28add22f20
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/app/components/plugins/plugin-detail-panel/model-list.tsx

+ 1
- 1
web/app/components/plugins/plugin-detail-panel/model-list.tsx View File

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…
Cancel
Save