RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: When the agent compiler adds a new chunk node via the "Next Step" action, it can generate multiple subsequent nodes. (#19644)
balibabu83ea226fef4f
diff --git a/web/src/pages/agent/canvas/node/dropdown/next-step-dropdown.tsx b/web/src/pages/agent/canvas/node/dropdown/next-step-dropdown.tsxindex 43ddb2c591..0577f064c5 100644--- a/web/src/pages/agent/canvas/node/dropdown/next-step-dropdown.tsx+++ b/web/src/pages/agent/canvas/node/dropdown/next-step-dropdown.tsx@@ -14,6 +14,13 @@ import {} from './accordion-operators';import { HideModalContext, OnNodeCreatedContext } from './operator-item-list';+// React events from this portal still bubble through the React tree, and the+// enclosing xyflow <Handle> starts a connection drag on mousedown. Stop press+// events here so dragging across menu items can't create a placeholder node.+function stopPropagation(event: React.SyntheticEvent<HTMLElement>) {+ event.stopPropagation();+}+export function InnerNextStepDropdown({children,hideModal,@@ -94,7 +101,9 @@ export function InnerNextStepDropdown({><DropdownMenuTrigger asChild>{children}</DropdownMenuTrigger><DropdownMenuContent- onClick={(e) => e.stopPropagation()}+ onClick={stopPropagation}+ onMouseDown={stopPropagation}+ onTouchStart={stopPropagation}className="w-[300px] font-semibold"><DropdownMenuLabel className="text-xs text-text-primary">