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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chunk-overlap None check (#2781)
Jyong6454e1d644a4
diff --git a/api/core/indexing_runner.py b/api/core/indexing_runner.pyindex 0cd9f9f6463..dd46aa27dc6 100644--- a/api/core/indexing_runner.py+++ b/api/core/indexing_runner.py@@ -416,9 +416,14 @@ class IndexingRunner:if separator:separator = separator.replace('\\n', '\n')+ if 'chunk_overlap' in segmentation and segmentation['chunk_overlap']:+ chunk_overlap = segmentation['chunk_overlap']+ else:+ chunk_overlap = 0+character_splitter = FixedRecursiveCharacterTextSplitter.from_encoder(chunk_size=segmentation["max_tokens"],- chunk_overlap=segmentation.get('chunk_overlap', 0),+ chunk_overlap=chunk_overlap,fixed_separator=separator,separators=["\n\n", "。", ".", " ", ""],embedding_model_instance=embedding_model_instance