mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 15:36:00 +08:00
fix: tool info (#14293)
This commit is contained in:
parent
9fb78ce827
commit
545aa61cf4
@ -13,7 +13,7 @@ const ModelList = ({
|
|||||||
detail,
|
detail,
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
const { t } = useTranslation()
|
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)
|
if (!res)
|
||||||
return null
|
return null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user