summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot.go b/bot.go
index 0ea2a11..08920cc 100644
--- a/bot.go
+++ b/bot.go
@@ -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
}