Skip to content

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

fix: prevent child delimiter add from submitting form (#17421)

euvref6464c909dcd
diff --git a/web/src/pages/agent/form/token-chunker-form/index.tsx b/web/src/pages/agent/form/token-chunker-form/index.tsx
index 2790d5d202..18fc217546 100644
--- a/web/src/pages/agent/form/token-chunker-form/index.tsx
+++ b/web/src/pages/agent/form/token-chunker-form/index.tsx
@@ -208,6 +208,7 @@ const TokenChunkerForm = ({
))}
<BlockButton
+ type="button"
onClick={() => childrenDelimiters.append({ value: '\n' })}
>
{t('common.add')}