Skip to content

Commit

Permalink
broadcast interrupt on termiante (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajar98 authored Aug 9, 2023
1 parent 449038d commit efc5eeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vocode/streaming/streaming_conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ def mark_terminated(self):

async def terminate(self):
self.mark_terminated()
self.broadcast_interrupt()
self.events_manager.publish_event(
TranscriptCompleteEvent(conversation_id=self.id, transcript=self.transcript)
)
Expand Down

0 comments on commit efc5eeb

Please sign in to comment.