From 471eca7eab67b60ced489aaf8ab256cfc33e9d5c Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour Date: Tue, 10 Dec 2024 20:11:38 +0100 Subject: [PATCH] todo comment --- .../nodes/vector_store/shared/createVectorStoreNode.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts b/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts index 6f3cb0eeed..a3a7a82776 100644 --- a/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts +++ b/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts @@ -401,6 +401,7 @@ export const createVectorStoreNode = (args: VectorStoreNodeConstructorArgs) => // "Tool" is appended automatically to node type name // because of usableAsTool flag set above const isTool = this.getNode().type.endsWith('Tool'); + // todo refactor function out if (isTool) { const toolDescription = this.getNodeParameter('toolDescription', itemIndex) as string; const toolName = this.getNodeParameter('toolName', itemIndex) as string;