Update src/commands/chat.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Nate Sesti 2025-07-26 19:42:47 -07:00 • committed by GitHub
parent 9e39d8483c
commit af01e0e431
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();