clean up not needed changes

This commit is contained in:
Mutasem Aldmour 2024-12-18 11:55:07 +01:00
parent c87247b8e9
commit a0acfec14c
No known key found for this signature in database
GPG key ID: 3DFA8122BB7FD6B8
2 changed files with 2 additions and 5 deletions

View file

@ -126,7 +126,7 @@ export const createVectorStoreNode = (args: VectorStoreNodeConstructorArgs) =>
name: args.meta.name,
description: args.meta.description,
icon: args.meta.icon,
group: ['transform', 'vector-store'],
group: ['transform'],
version: 1,
defaults: {
name: args.meta.displayName,

View file

@ -308,10 +308,7 @@ export class LoadNodesAndCredentials {
const description: INodeTypeBaseDescription | INodeTypeDescription =
structuredClone(usableNode);
// avoid spiking memory during startup, loading all node classes into memory
const nodeType = usableNode.usableAsTool
? this.getCurrentVersionNodeType(usableNode)
: undefined;
const nodeType = this.getCurrentVersionNodeType(usableNode);
const wrapped = this.convertNodeToAiTool({
description,
setupAsTool: nodeType?.setupAsTool,