瀏覽代碼

fix: gemini model info (#14282)

tags/1.0.0
zxhlyh 8 月之前
父節點
當前提交
28add22f20
沒有連結到貢獻者的電子郵件帳戶。
共有 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}`)
const { data: res } = useModelProviderModelList(`${detail.plugin_id}/${detail.name === 'gemini' ? 'google' : detail.name}`)

if (!res)
return null

Loading…
取消
儲存