From c5bf46c44c699609fd1906c925469af3d224edeb Mon Sep 17 00:00:00 2001 From: Mgeeeek Date: Wed, 6 May 2026 01:50:04 +0530 Subject: [PATCH] fix(telemetry): restore !this.telemetryId guard in OSS _getTelemetryId Followup to ec5baaba: the previous commit dropped the unset/empty telemetryId fallback. Restoring it preserves behavioral parity with pre-PR code in case telemetryId is ever externally mutated to a falsy value (the type permits "" even if normal flow never sets it). --- mem0-ts/src/oss/src/memory/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/mem0-ts/src/oss/src/memory/index.ts b/mem0-ts/src/oss/src/memory/index.ts index c66255adb..ee414ca49 100644 --- a/mem0-ts/src/oss/src/memory/index.ts +++ b/mem0-ts/src/oss/src/memory/index.ts @@ -463,6 +463,7 @@ export class Memory { private async _getTelemetryId() { try { if ( + !this.telemetryId || this.telemetryId === "anonymous" || this.telemetryId === "anonymous-supabase" ) {