Skip to content

Commit aa812ab

Browse files
committed
thanks cursor
1 parent 6750b12 commit aa812ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/utils/vercel-ai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function processToolCallSpan(span: Span, attributes: SpanAttributes): void {
121121
if (!attributes['gen_ai.tool.type']) {
122122
span.setAttribute('gen_ai.tool.type', 'function');
123123
}
124-
span.updateName(`execute_tool ${attributes[AI_TOOL_CALL_NAME_ATTRIBUTE]}`);
124+
span.updateName(`execute_tool ${attributes['gen_ai.tool.name']}`);
125125
}
126126

127127
function processGenerateSpan(span: Span, name: string, attributes: SpanAttributes): void {

0 commit comments

Comments
 (0)