Merge remote-tracking branch 'origin/main' into bundle-artifact

This commit is contained in:
Anirban Kar
2024-12-02 22:21:17 +05:30
35 changed files with 29196 additions and 3207 deletions

View File

@@ -84,11 +84,11 @@ export class ActionRunner {
}
if (action.executed) {
return;
return; // No return value here
}
if (isStreaming && action.type !== 'file') {
return;
return; // No return value here
}
this.#updateAction(actionId, { ...action, ...data.action, executed: !isStreaming });
@@ -100,7 +100,6 @@ export class ActionRunner {
.catch((error) => {
console.error('Action failed:', error);
});
return this.#currentExecutionPromise;
}
async #executeAction(actionId: string, isStreaming: boolean = false) {