File tree Expand file tree Collapse file tree
sentry_sdk/integrations/openai_agents Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def ai_client_span(
3131
3232 span = sentry_sdk .start_span (
3333 op = OP .GEN_AI_CHAT ,
34- description = f"chat { model_name } " ,
34+ name = f"chat { model_name } " ,
3535 origin = SPAN_ORIGIN ,
3636 )
3737 # TODO-anton: remove hardcoded stuff and replace something that also works for embedding and so on
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ def _create_mcp_execute_tool_spans(
224224 if output .__class__ .__name__ == "McpCall" :
225225 with sentry_sdk .start_span (
226226 op = OP .GEN_AI_EXECUTE_TOOL ,
227- description = f"execute_tool { output .name } " ,
227+ name = f"execute_tool { output .name } " ,
228228 start_timestamp = span .start_timestamp ,
229229 ) as execute_tool_span :
230230 execute_tool_span .set_data (SPANDATA .GEN_AI_TOOL_NAME , output .name )
You can’t perform that action at this time.
0 commit comments