소스 검색

fix: tool info (#14293)

tags/1.0.0
zxhlyh 8 달 전
부모
커밋
545aa61cf4
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 파일 보기

@@ -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…
취소
저장