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: workflow connection (#3713)
zxhlyh39ae56e136c2
diff --git a/web/app/components/workflow/hooks/use-nodes-interactions.ts b/web/app/components/workflow/hooks/use-nodes-interactions.tsindex 242e2d35aa4..b2a10d4b9d0 100644--- a/web/app/components/workflow/hooks/use-nodes-interactions.ts+++ b/web/app/components/workflow/hooks/use-nodes-interactions.ts@@ -324,18 +324,12 @@ export const useNodesInteractions = () => {return}const needDeleteEdges = edges.filter((edge) => {- if (edge.source === source) {- if (edge.sourceHandle)- return edge.sourceHandle === sourceHandle- else- return true- }- if (edge.target === target) {- if (edge.targetHandle)- return edge.targetHandle === targetHandle- else- return true- }+ if (+ (edge.source === source && edge.sourceHandle === sourceHandle)+ || (edge.target === target && edge.targetHandle === targetHandle)+ )+ return true+return false})const needDeleteEdgesIds = needDeleteEdges.map(edge => edge.id)