We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4368a6b commit 9ab864eCopy full SHA for 9ab864e
sentry_sdk/integrations/anthropic.py
@@ -147,7 +147,7 @@ def _collect_ai_data(
147
# https://github.com/anthropics/anthropic-sdk-python/blob/9c485f6966e10ae0ea9eabb3a921d2ea8145a25b/src/anthropic/lib/streaming/_messages.py#L433-L518
148
if event.type == "message_start":
149
model = event.message.model or model
150
- response_id = getattr(event.message, "id", None) or response_id
+ response_id = event.message.id
151
152
incoming_usage = event.message.usage
153
usage.output_tokens = incoming_usage.output_tokens
0 commit comments