We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b1356 commit 68dba0eCopy full SHA for 68dba0e
1 file changed
sentry_sdk/integrations/anthropic.py
@@ -466,7 +466,7 @@ async def _wrap_asynchronous_message_iterator(
466
iterator: "AsyncIterator[Union[RawMessageStreamEvent, MessageStreamEvent]]",
467
span: "Span",
468
integration: "AnthropicIntegration",
469
-) -> "AsyncIterator[RawMessageStreamEvent]":
+) -> "AsyncIterator[Union[RawMessageStreamEvent, MessageStreamEvent]]":
470
"""
471
Sets information received while iterating the response stream on the AI Client Span.
472
Responsible for closing the AI Client Span.
0 commit comments