Skip to content

Commit 411e8bf

Browse files
committed
HO-207
1 parent 35f80ea commit 411e8bf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/voice-agent/src/server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ const handleChat = async (
6565
const threadId = conversationId ?? randomUUID()
6666

6767
if (isStopRequest(text)) {
68-
sendJson(res, 200, { text: "", conversationId: threadId })
68+
// "*" is the View Assist sentinel for "no speech returned" — it prevents the
69+
// AI Response display and sensor update while avoiding the TTS error that
70+
// empty string triggers in some HA/TTS configurations.
71+
sendJson(res, 200, { text: "*", conversationId: threadId })
6972
return
7073
}
7174

0 commit comments

Comments
 (0)