VoiceWake: skip send chime when nothing to send

This commit is contained in:
Peter Steinberger
2025-12-08 20:57:41 +01:00
parent ffaf968940
commit ec046411f1
2 changed files with 2 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ actor VoiceWakeRuntime {
committed: finalTranscript,
volatile: "",
isFinal: true)
if config.sendChime != .none {
if !finalTranscript.isEmpty, config.sendChime != .none {
await MainActor.run { VoiceWakeChimePlayer.play(config.sendChime) }
}
await MainActor.run {