Add started_talking log message in ReplyOnPause and in api.md (#260)

This commit is contained in:
Erik Wasmosy
2025-04-07 17:35:53 -04:00
committed by GitHub
parent 2331079c0f
commit a07e9439b6
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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"
}
```