瀏覽代碼

fix: missing dataset patch parameters in settings modal (#4901)

Charles Zhou 1 年之前
父節點
當前提交
63addc9258
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      web/app/components/app/configuration/dataset-config/settings-modal/index.tsx

+ 2 - 0
web/app/components/app/configuration/dataset-config/settings-modal/index.tsx

@@ -100,6 +100,8 @@ const SettingsModal: FC<SettingsModalProps> = ({
           permission,
           indexing_technique: indexMethod,
           retrieval_model: postRetrievalConfig,
+          embedding_model: localeCurrentDataset.embedding_model,
+          embedding_model_provider: localeCurrentDataset.embedding_model_provider,
         },
       })
       notify({ type: 'success', message: t('common.actionMsg.modifiedSuccessfully') })