todo comment

This commit is contained in:
Mutasem Aldmour 2024-12-10 20:11:38 +01:00
parent 819a397735
commit 471eca7eab
No known key found for this signature in database
GPG key ID: 3DFA8122BB7FD6B8

View file

@ -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;