Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
meorphis committed Jun 3, 2024
1 parent 0d7cc5e commit 1886dd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/openai/lib/streaming/_assistants.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def _emit_sse_event(self, event: AssistantStreamEvent) -> None:
or event.event == "thread.run.expired"
or event.event == "thread.run.failed"
or event.event == "thread.run.requires_action"
or event.event == "thread.run.incomplete"
):
self.__current_run = event.data
if self._current_tool_call:
Expand Down Expand Up @@ -711,6 +712,7 @@ async def _emit_sse_event(self, event: AssistantStreamEvent) -> None:
or event.event == "thread.run.expired"
or event.event == "thread.run.failed"
or event.event == "thread.run.requires_action"
or event.event == "thread.run.incomplete"
):
self.__current_run = event.data
if self._current_tool_call:
Expand Down

0 comments on commit 1886dd4

Please sign in to comment.