Skip to content

Commit 3009ba6

Browse files
Merge branch 'webb/anthropic/separate-output-handling' into webb/anthropic/only-raw-message-stream-events
2 parents a6da66e + c988c26 commit 3009ba6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/anthropic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,10 @@ def _wrap_synchronous_message_iterator(
413413

414414

415415
async def _wrap_asynchronous_message_iterator(
416-
iterator: "Iterator[RawMessageStreamEvent]",
416+
iterator: "AsyncIterator[RawMessageStreamEvent]",
417417
span: "Span",
418418
integration: "AnthropicIntegration",
419-
) -> "Iterator[RawMessageStreamEvent]":
419+
) -> "AsyncIterator[RawMessageStreamEvent]":
420420
"""
421421
Sets information received while iterating the response stream on the AI Client Span.
422422
Responsible for closing the AI Client Span.

0 commit comments

Comments
 (0)