Skip to content

Commit

Permalink
fix: text
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Oct 23, 2024
1 parent ca79c26 commit c2baf8c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ def _complete_with_history(self, ts: datetime, buff: bytearray) -> Iterator[byte
if self.transcript:
self.transcript += "[interrupted]"
self._append_message("assistant", self.transcript)
self._send_transcript("", "assistant", True)
break

if not line.startswith("data:"):
Expand Down

0 comments on commit c2baf8c

Please sign in to comment.