We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a01f7c1 commit 7837439Copy full SHA for 7837439
1 file changed
sentry_sdk/integrations/anthropic.py
@@ -92,6 +92,7 @@ def _patched_iter(self: "Stream") -> "Iterator[RawMessageStreamEvent]":
92
if not hasattr(self, "_sentry_span"):
93
for event in f(self):
94
yield event
95
+ return
96
97
model = None
98
usage = _RecordedUsage()
@@ -153,6 +154,7 @@ async def _patched_aiter(
153
154
155
async for event in f(self):
156
157
158
159
160
0 commit comments