Removed this.name from Task constructor, as LLM's names are populated post calling the base construction (#1192)

Also fixed a jslint error
This commit is contained in:
rammohan-y
2025-05-12 18:44:33 +05:30
committed by GitHub
parent 5c8237b382
commit 8217a76697
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ class Task extends Emitter {
this.data = data;
this.actionHook = this.data.actionHook;
this.id = data.id;
this.taskId = this.name + '-' + uuidv4();
this.taskId = uuidv4();
this._killInProgress = false;
this._completionPromise = new Promise((resolve) => this._completionResolver = resolve);