Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Charles Zhou63addc925846
diff --git a/web/app/components/app/configuration/dataset-config/settings-modal/index.tsx b/web/app/components/app/configuration/dataset-config/settings-modal/index.tsx
index 945fe1b3f45..64d099dc706 100644
--- a/web/app/components/app/configuration/dataset-config/settings-modal/index.tsx
+++ b/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') })