mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
clean up not needed changes
This commit is contained in:
parent
c87247b8e9
commit
a0acfec14c
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue