From f4154fb7d98b8ad4a9fc02b126aeb859d25b0ad1 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Tue, 25 Feb 2025 12:49:52 +0800 Subject: [PATCH] fix: tool info --- web/app/components/plugins/plugin-detail-panel/model-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/plugins/plugin-detail-panel/model-list.tsx b/web/app/components/plugins/plugin-detail-panel/model-list.tsx index 6d904c7b03..54bf2fa507 100644 --- a/web/app/components/plugins/plugin-detail-panel/model-list.tsx +++ b/web/app/components/plugins/plugin-detail-panel/model-list.tsx @@ -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