fix(editor): Fix partial chat executions (#15379)

This commit is contained in:
oleg
2025-05-15 17:12:08 +02:00
committed by GitHub
parent 726438d95e
commit b6370fb2ec
8 changed files with 452 additions and 32 deletions

View File

@@ -41,6 +41,7 @@ import type {
INodeType,
ITaskStartedData,
AiAgentRequest,
IWorkflowExecutionDataProcess,
} from 'n8n-workflow';
import {
LoggerProxy as Logger,
@@ -118,6 +119,7 @@ export class WorkflowExecute {
startNode?: INode,
destinationNode?: string,
pinData?: IPinData,
triggerToStartFrom?: IWorkflowExecutionDataProcess['triggerToStartFrom'],
): PCancelable<IRun> {
this.status = 'running';
@@ -139,7 +141,7 @@ export class WorkflowExecute {
const nodeExecutionStack: IExecuteData[] = [
{
node: startNode,
data: {
data: triggerToStartFrom?.data?.data ?? {
main: [
[
{