From 9de3255465ff4fd31b99c593e62b3608e5d81c6c Mon Sep 17 00:00:00 2001 From: Charlie Kolb Date: Thu, 7 Nov 2024 16:36:46 +0100 Subject: [PATCH] cleanup --- .../Node/NodeCreator/composables/useActions.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/editor-ui/src/components/Node/NodeCreator/composables/useActions.ts b/packages/editor-ui/src/components/Node/NodeCreator/composables/useActions.ts index 8e7e778f9d..1058ed2950 100644 --- a/packages/editor-ui/src/components/Node/NodeCreator/composables/useActions.ts +++ b/packages/editor-ui/src/components/Node/NodeCreator/composables/useActions.ts @@ -211,15 +211,6 @@ export const useActions = () => { OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, ]; - const node1 = addedNodes[0]; - if (node1 !== undefined && node1.type === AGENT_NODE_TYPE) { - console.log(node1); - setAddedNodeActionParameters({ - name: 'x', - key: 'x', - value: 'x', - }); - } const isCompatibleNode = addedNodes.some((node) => COMPATIBLE_CHAT_NODES.includes(node.type)); if (!isCompatibleNode) return false;