Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Fix a problem with duplicate edge created (#1269)
Shuchang Zheng61f94af7f3d8
diff --git a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.tsindex a294c848f..eddde9d3e 100644--- a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts+++ b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts@@ -543,10 +543,6 @@ function getElements(blocks: Array<WorkflowBlock>): {nodes.push(nodeAdderNode(adderNodeId));edges.push(defaultEdge(startNodeId, adderNodeId));} else {- const firstNode = data.find(- (d) => d.previous === null && d.parentId === null,- );- edges.push(edgeWithAddButton(startNodeId, firstNode!.id));const lastNode = data.find((d) => d.next === null && d.parentId === null)!;edges.push(defaultEdge(lastNode.id, adderNodeId));nodes.push(nodeAdderNode(adderNodeId));