Skip to content

Commit ef16103

Browse files
committed
update comment
1 parent 13550da commit ef16103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openai/_streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __stream__(self) -> Iterator[_T]:
9393
request=self.response.request,
9494
body=data["error"],
9595
)
96-
# have to manually create part of the event since we don't have a full event
96+
# we have to special case the Assistants `thread.` events since we won't have an "event" key in the data
9797
yield process_data(data={"data": data, "event": sse.event}, cast_to=cast_to, response=response)
9898

9999
# Ensure the entire stream is consumed

0 commit comments

Comments
 (0)