We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edf0a4f commit 85e1791Copy full SHA for 85e1791
sentry_sdk/integrations/openai.py
@@ -658,7 +658,6 @@ async def new_iterator_async() -> "AsyncIterator[ChatCompletionChunk]":
658
count_tokens_manually = True
659
async for x in old_iterator:
660
with capture_internal_exceptions():
661
- # OpenAI chat completion API
662
if hasattr(x, "choices"):
663
choice_index = 0
664
for choice in x.choices:
0 commit comments