Skip to content

Commit 61480bc

Browse files
committed
fix: update default userId to an empty string in trackToolCall function
1 parent 5eb7f70 commit 61480bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function trackToolCall(
4242

4343
// TODO: Implement anonymousId tracking for device/session identification
4444
client.track({
45-
userId: userId || 'anonymous',
45+
userId: userId || '',
4646
event: SEGMENT_EVENTS.TOOL_CALL,
4747
properties,
4848
});

0 commit comments

Comments
 (0)