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;