This commit is contained in:
Mutasem Aldmour 2024-11-12 11:51:16 +01:00
parent af2da6ae72
commit a59f1c5ed8
No known key found for this signature in database
GPG key ID: 3DFA8122BB7FD6B8

View file

@ -10,6 +10,7 @@ import type {
INodeTypeDescription, INodeTypeDescription,
SupplyData, SupplyData,
INodeParameterResourceLocator, INodeParameterResourceLocator,
ExecuteWorkflowData,
} from 'n8n-workflow'; } from 'n8n-workflow';
import { BaseRetriever, type BaseRetrieverInput } from '@langchain/core/retrievers'; import { BaseRetriever, type BaseRetrieverInput } from '@langchain/core/retrievers';
@ -389,7 +390,7 @@ export class RetrieverWorkflow implements INodeType {
const items = [newItem] as INodeExecutionData[]; const items = [newItem] as INodeExecutionData[];
let receivedData; let receivedData: ExecuteWorkflowData;
try { try {
receivedData = await this.executeFunctions.executeWorkflow( receivedData = await this.executeFunctions.executeWorkflow(
workflowInfo, workflowInfo,