fix: tool info
This commit is contained in:
parent
b0a804e22f
commit
f4154fb7d9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user