summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-10 11:25:05 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-10 11:25:05 +0300
commit46a33baabbde39f4090816965ff26840143bae95 (patch)
treee89c5bd1430acc875f6cb431c4edbb3fe9d1fc5e /bot.go
parent875de679cf4732bbd70361d826d65d9d8b190add (diff)
Enha: stop tts if msg not for user
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.go b/bot.go
index 1310c20..b2fbbe6 100644
--- a/bot.go
+++ b/bot.go
@@ -874,6 +874,7 @@ out:
// Process the new message to check for known_to tags in LLM response
newMsg = *processMessageTag(&newMsg)
chatBody.Messages = append(chatBody.Messages, newMsg)
+ stopTTSIfNotForUser(&newMsg)
}
cleanChatBody()
refreshChatDisplay()