Skip to content

Commit 0ab8c46

Browse files
.
1 parent 29b8891 commit 0ab8c46

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
@@ -834,7 +834,7 @@ def _set_streaming_completions_api_output_data(
834834
response: "Any",
835835
kwargs: "dict[str, Any]",
836836
integration: "OpenAIIntegration",
837-
start_time: "float",
837+
start_time: "Optional[float]" = None,
838838
finish_span: bool = True,
839839
) -> None:
840840
messages = kwargs.get("messages")
@@ -890,7 +890,7 @@ def _set_streaming_responses_api_output_data(
890890
response: "Any",
891891
kwargs: "dict[str, Any]",
892892
integration: "OpenAIIntegration",
893-
start_time: "float",
893+
start_time: "Optional[float]" = None,
894894
finish_span: bool = True,
895895
) -> None:
896896
input = kwargs.get("input")

0 commit comments

Comments
 (0)