Upgraded telemetry to capture each message turn separately (#4954)
* refactor: Ugraded telemetry to capture each message turn seperatly * go back to the correct posthog key oops
This commit is contained in:
1 parent
cd7f3ef6a7
commit
8539bdce24
5 files changed
+188
-345
No files matched your search
@@ -905,7 +905,6 @@ export class Controller {
|
||||
|
||||
async clearTask() {
|
||||
if (this.task) {
|
||||
await telemetryService.sendCollectedEvents(this.task.taskId)
|
||||
}
|
||||
await this.task?.abortTask()
|
||||
this.task = undefined // removes reference to it, so once promises end it will be garbage collected
|
||||
|
||||
Reference in new issue
Block a user