[PR #8195] fix(telemetry): restore userId and sessionId metadata in experimental_telemetry #12654

Closed
opened 2026-02-16 18:17:33 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8195

State: closed
Merged: Yes


What does this PR do?

Fixes #8193

Restores userId and sessionId metadata to experimental_telemetry in llm.ts, which was removed during LLM refactoring.

Originally added in #5279.

How did you verify your code works?

Tested with Langfuse - traces correctly group by session and display user attribution.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8195 **State:** closed **Merged:** Yes --- ### What does this PR do? Fixes #8193 Restores `userId` and `sessionId` metadata to `experimental_telemetry` in [llm.ts](cci:7://file:///Users/raviguntakala/Desktop/opencode/packages/opencode/src/session/llm.ts:0:0-0:0), which was removed during LLM refactoring. Originally added in #5279. ### How did you verify your code works? Tested with Langfuse - traces correctly group by session and display user attribution.
yindo added the pull-request label 2026-02-16 18:17:33 -05:00
yindo closed this issue 2026-02-16 18:17:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12654