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
fix: rules should not be None for in (#10977)
yihonged55de888acb
diff --git a/api/core/rag/cleaner/clean_processor.py b/api/core/rag/cleaner/clean_processor.pyindex 3c6ab2e4cfc..754b0d18b71 100644--- a/api/core/rag/cleaner/clean_processor.py+++ b/api/core/rag/cleaner/clean_processor.py@@ -12,7 +12,7 @@ class CleanProcessor:# Unicode U+FFFEtext = re.sub("\ufffe", "", text)- rules = process_rule["rules"] if process_rule else None+ rules = process_rule["rules"] if process_rule else {}if "pre_processing_rules" in rules:pre_processing_rules = rules["pre_processing_rules"]for pre_processing_rule in pre_processing_rules: