Skip to content

Commit a9fcf8a

Browse files
committed
fix(integrations): anthropic set GEN_AI_OPERATION_NAME
1 parent 6c6705a commit a9fcf8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry_sdk/integrations/anthropic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def _set_input_data(span, kwargs, integration):
124124
"""
125125
Set input data for the span based on the provided keyword arguments for the anthropic message creation.
126126
"""
127+
set_data_normalized(span, SPANDATA.GEN_AI_OPERATION_NAME, "chat")
127128
system_prompt = kwargs.get("system")
128129
messages = kwargs.get("messages")
129130
if (

0 commit comments

Comments
 (0)