File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
javascript/common/tracing/instrumentation
python/tracing/instrumentation/custom-instrumentation Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments