Ver código fonte

fix: tool info (#14293)

tags/1.0.0
zxhlyh 8 meses atrás
pai
commit
545aa61cf4
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
web/app/components/plugins/plugin-detail-panel/model-list.tsx Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar