From 5add317b1ab17943847c422ab38b490e862b1254 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Sat, 30 Nov 2024 03:00:53 +0530 Subject: [PATCH] Update action-runner.ts needed to return promise for proper artifact chaining --- app/lib/runtime/action-runner.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/runtime/action-runner.ts b/app/lib/runtime/action-runner.ts index 4b32f7ada..5fb984fd8 100644 --- a/app/lib/runtime/action-runner.ts +++ b/app/lib/runtime/action-runner.ts @@ -100,6 +100,7 @@ export class ActionRunner { .catch((error) => { console.error('Action failed:', error); }); + return this.#currentExecutionPromise; } async #executeAction(actionId: string, isStreaming: boolean = false) {