diff options
author | Grail Finder <wohilas@gmail.com> | 2025-05-21 21:16:42 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-05-21 21:16:42 +0300 |
commit | 4a17dd745cbd7354a24b046b76838f7670af51c6 (patch) | |
tree | 7365b5d5d3b3ad24252d1a5ea6b1a3c0de0b2557 /bot.go | |
parent | fe4f759173ecd3cff2a6db38878cfd2727b8b49c (diff) |
Enha: rename to tts.go; use one buffer;
Diffstat (limited to 'bot.go')
-rw-r--r-- | bot.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,13 +4,13 @@ import ( "bufio" "bytes" "context" + "encoding/json" + "fmt" "gf-lt/config" "gf-lt/extra" "gf-lt/models" "gf-lt/rag" "gf-lt/storage" - "encoding/json" - "fmt" "io" "log/slog" "net" @@ -350,6 +350,7 @@ out: if cfg.TTS_ENABLED { // audioStream.TextChan <- chunk extra.TTSFlushChan <- true + logger.Info("sending flushchan signal") } break out } |