diff --git a/backend/fastrtc/reply_on_pause.py b/backend/fastrtc/reply_on_pause.py index c70898f..84ae358 100644 --- a/backend/fastrtc/reply_on_pause.py +++ b/backend/fastrtc/reply_on_pause.py @@ -209,6 +209,7 @@ class ReplyOnPause(StreamHandler): ): state.started_talking = True logger.debug("Started talking") + self.send_message_sync(create_message("log", "started_talking")) if state.started_talking: if state.stream is None: state.stream = audio diff --git a/docs/userguide/api.md b/docs/userguide/api.md index aa344da..b91e7c9 100644 --- a/docs/userguide/api.md +++ b/docs/userguide/api.md @@ -55,7 +55,7 @@ The `ReplyOnPause` handler can also send the following `log` messages. ```json { "type": "log", - "data": "pause_detected" | "response_starting" + "data": "pause_detected" | "response_starting" | "started_talking" } ```