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).
This commit is contained in:
@@ -463,6 +463,7 @@ export class Memory {
|
|||||||
private async _getTelemetryId() {
|
private async _getTelemetryId() {
|
||||||
try {
|
try {
|
||||||
if (
|
if (
|
||||||
|
!this.telemetryId ||
|
||||||
this.telemetryId === "anonymous" ||
|
this.telemetryId === "anonymous" ||
|
||||||
this.telemetryId === "anonymous-supabase"
|
this.telemetryId === "anonymous-supabase"
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user