We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd776a9 commit 7fe387dCopy full SHA for 7fe387d
packages/node/src/integrations/tracing/vercelai/index.ts
@@ -50,6 +50,8 @@ const _vercelAIIntegration = ((options: VercelAiOptions = {}) => {
50
) {
51
addOriginToSpan(span, 'auto.vercelai.otel');
52
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, 'gen_ai.execute_tool');
53
+ span.setAttribute('gen_ai.tool.call.id', attributes[AI_TOOL_CALL_ID_ATTRIBUTE]);
54
+ span.setAttribute('gen_ai.tool.name', attributes[AI_TOOL_CALL_NAME_ATTRIBUTE]);
55
span.updateName(`execute_tool ${attributes[AI_TOOL_CALL_NAME_ATTRIBUTE]}`);
56
return;
57
}
0 commit comments