mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
todo comment
This commit is contained in:
parent
819a397735
commit
471eca7eab
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue