Skip to content

Commit 9db54fa

Browse files
committed
another small fix
1 parent e144f1a commit 9db54fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/platforms/javascript/common/tracing/instrumentation/ai-agents-module.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ if (result.toolCalls && result.toolCalls.length > 0) {
191191
await Sentry.startSpan(
192192
{
193193
op: "gen_ai.execute_tool",
194-
name: `gen_ai.execute_tool ${tool.name}`,
194+
name: `execute_tool ${tool.name}`,
195195
attributes: {
196196
"gen_ai.system": myAi.modelProvider,
197197
"gen_ai.request.model": myAi.model,

docs/platforms/python/tracing/instrumentation/custom-instrumentation/ai-agents-module.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ if my_should_call_tool(result):
160160

161161
with sentry_sdk.start_span(
162162
op="gen_ai.execute_tool",
163-
name=f"gen_ai.execute_tool {tool.name}"
163+
name=f"execute_tool {tool.name}"
164164
) as span:
165165
# set data about LLM and tool
166166
span.set_data("gen_ai.system", my_ai.model_provider)

0 commit comments

Comments
 (0)