Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: unable to save ingestion pipeline config without modifying children delimiter (#11991)

Jimmy Ben Klieve4046bffaf181
diff --git a/web/src/components/chunk-method-dialog/index.tsx b/web/src/components/chunk-method-dialog/index.tsx
index e85cc20b12..ae6e62aa6d 100644
--- a/web/src/components/chunk-method-dialog/index.tsx
+++ b/web/src/components/chunk-method-dialog/index.tsx
@@ -209,7 +209,7 @@ export function ChunkMethodDialog({
// Unset children delimiter if this option is not enabled
children_delimiter: data.parser_config.enable_children
? data.parser_config.children_delimiter
- : null,
+ : '',
pages: data.parser_config?.pages?.map((x: any) => [x.from, x.to]) ?? [],
},
};
diff --git a/web/src/pages/dataset/dataset-setting/saving-button.tsx b/web/src/pages/dataset/dataset-setting/saving-button.tsx
index 155dad13c2..451e1d8952 100644
--- a/web/src/pages/dataset/dataset-setting/saving-button.tsx
+++ b/web/src/pages/dataset/dataset-setting/saving-button.tsx
@@ -72,7 +72,7 @@ export function SavingButton() {
// Unset children delimiter if this option is not enabled
children_delimiter: values.parser_config.enable_children
? values.parser_config.children_delimiter
- : null,
+ : '',
},
});
})();