We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1b40a commit 3979682Copy full SHA for 3979682
sentry_sdk/integrations/openai.py
@@ -113,7 +113,7 @@ def _calculate_chat_completion_usage(
113
114
115
def _new_chat_completion_common(f, *args, **kwargs):
116
- # type: (*Any, **Any) -> Any
+ # type: (Any, *Any, **Any) -> Any
117
if "messages" not in kwargs:
118
# invalid call (in all versions of openai), let it return error
119
return f(*args, **kwargs)
@@ -230,7 +230,7 @@ async def _sentry_patched_create_async(*args, **kwargs):
230
231
232
def _new_embeddings_create_common(f, *args, **kwargs):
233
234
with sentry_sdk.start_span(
235
op=consts.OP.OPENAI_EMBEDDINGS_CREATE,
236
description="OpenAI Embedding Creation",
0 commit comments