diff --git a/src/commands/chat.ts b/src/commands/chat.ts index bfa759d57..6c2101521 100644 --- a/src/commands/chat.ts +++ b/src/commands/chat.ts @@ -150,7 +150,7 @@ export async function chat(prompt?: string, options: ChatOptions = {}) { try { // Record session start telemetryService.recordSessionStart(); - posthogService.capture("sessionStart", {}); + await posthogService.capture("sessionStart", {}); // Start active time tracking telemetryService.startActiveTime();