Skip to content

Commit 4069b08

Browse files
committed
.
1 parent ef004da commit 4069b08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/integrations/conversationId.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ const _conversationIdIntegration = (() => {
1919
const conversationId = scopeData.conversationId || isolationScopeData.conversationId;
2020

2121
if (conversationId) {
22-
const { op } = spanToJSON(span);
23-
2422
// Only apply conversation ID to gen_ai spans
25-
if (!op?.startsWith('gen_ai.')) {
23+
if (!spanToJSON(span).op?.startsWith('gen_ai.')) {
2624
return;
2725
}
2826

0 commit comments

Comments
 (0)