We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a0e5e9 commit f36dd5dCopy full SHA for f36dd5d
sentry_sdk/integrations/anthropic.py
@@ -373,6 +373,8 @@ def _wrap_synchronous_message_iterator(
373
374
try:
375
for event in iterator:
376
+ # Message and content types are aliases for corresponding Raw* types, introduced in
377
+ # https://github.com/anthropics/anthropic-sdk-python/commit/bc9d11cd2addec6976c46db10b7c89a8c276101a
378
if not isinstance(
379
event,
380
(
@@ -434,6 +436,8 @@ async def _wrap_asynchronous_message_iterator(
434
436
435
437
438
async for event in iterator:
439
440
441
442
443
0 commit comments