Skip to content

Commit

Permalink
fix(action-runner): Restore original action runner logic
Browse files Browse the repository at this point in the history
- Restore original action execution flow
- Add eslint-disable for consistent-return
- Maintain proper error handling
  • Loading branch information
ThePsyberSleuth committed Nov 30, 2024
1 parent 27934b1 commit 77e71ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/lib/runtime/action-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ export class ActionRunner {
.catch((error) => {
console.error('Action failed:', error);
});

// eslint-disable-next-line consistent-return
return this.#currentExecutionPromise;
}

async #executeAction(actionId: string, isStreaming: boolean = false) {
Expand Down

0 comments on commit 77e71ff

Please sign in to comment.