Skip to content

Commit 2aa4b25

Browse files
Merge branch 'webb/openai/separate-output-handling-by-api' into webb/openai/input-parameter
2 parents 4ab8e74 + fb12a44 commit 2aa4b25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,11 +991,11 @@ def _new_responses_create_common(f: "Any", *args: "Any", **kwargs: "Any") -> "An
991991

992992
is_streaming_response = kwargs.get("stream", False)
993993
if is_streaming_response:
994-
_set_responses_api_output_data(
994+
_set_streaming_responses_api_output_data(
995995
span, response, kwargs, integration, start_time, finish_span=True
996996
)
997997
else:
998-
_set_streaming_responses_api_output_data(
998+
_set_responses_api_output_data(
999999
span, response, kwargs, integration, start_time, finish_span=True
10001000
)
10011001

0 commit comments

Comments
 (0)