AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
feat(autogpt_builder) Remove saving of execution data into sink node (#7383)
Aarushi58af7f94660c
diff --git a/rnd/autogpt_builder/src/components/Flow.tsx b/rnd/autogpt_builder/src/components/Flow.tsxindex de37c89f55..42aac3b7a5 100644--- a/rnd/autogpt_builder/src/components/Flow.tsx+++ b/rnd/autogpt_builder/src/components/Flow.tsx@@ -267,23 +267,6 @@ const FlowEditor: React.FC<{ flowID?: string; className?: string }> = ({let inputData = getNestedData(blockSchema, node.data.hardcodedValues);- // Get data from connected nodes- const incomingEdges = allEdges.filter(edge => edge.target === node.id);- incomingEdges.forEach(edge => {- const sourceNode = allNodes.find(n => n.id === edge.source);- if (sourceNode && sourceNode.data.output_data) {- const outputKey = Object.keys(sourceNode.data.output_data)[0]; // Assuming single output- inputData[edge.targetHandle as string] = sourceNode.data.output_data[outputKey];- }- });-- // Filter out any inputs that are not in the block's schema- Object.keys(inputData).forEach(key => {- if (!blockSchema.properties[key]) {- delete inputData[key];- }- });-console.log(`Final prepared input for ${node.data.blockType} (${node.id}):`, inputData);return inputData;};