Skip to content

Commit cb77f26

Browse files
committed
update to remove trace id and span id from context
1 parent 7d41fa7 commit cb77f26

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/node/src/integrations/tracing/vercelai/instrumentation.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,8 @@ function checkResultForToolErrors(result: unknown | Promise<unknown>): void {
9797
span_id: spanContext.spanId,
9898
});
9999

100-
// Add tool-specific tags
101100
scope.setTag('vercel.ai.tool.name', item.toolName);
102101
scope.setTag('vercel.ai.tool.callId', item.toolCallId);
103-
scope.setTag('vercel.ai.tool.span.id', spanContext.spanId);
104-
scope.setTag('vercel.ai.tool.trace.id', spanContext.traceId);
105102

106103
scope.setLevel('error');
107104

0 commit comments

Comments
 (0)