Bladeren bron

fix: tool info (#14293)

tags/1.0.0
zxhlyh 8 maanden geleden
bovenliggende
commit
545aa61cf4
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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 Bestand weergeven

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

if (!res)
return null

Laden…
Annuleren
Opslaan