summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-12-08 15:41:53 +0300
committerGrail Finder <wohilas@gmail.com>2025-12-08 15:41:53 +0300
commit747412e59a164822d3597fec4de8e42e49e0c6ce (patch)
treed2699d06a4b86aa88beb3e0945213e4ce4094893
parent9b2fee37ab376619f6b0028f4c9aecf71204d44a (diff)
Fix: use q5 model as per makefile
-rw-r--r--bot.go14
-rw-r--r--config.example.toml2
2 files changed, 8 insertions, 8 deletions
diff --git a/bot.go b/bot.go
index 0001afa..90fbe96 100644
--- a/bot.go
+++ b/bot.go
@@ -26,12 +26,12 @@ import (
)
var (
- httpClient = &http.Client{}
- cluedoState *extra.CluedoRoundInfo // Current game state
- playerOrder []string // Turn order tracking
- cfg *config.Config
- logger *slog.Logger
- logLevel = new(slog.LevelVar)
+ httpClient = &http.Client{}
+ cluedoState *extra.CluedoRoundInfo // Current game state
+ playerOrder []string // Turn order tracking
+ cfg *config.Config
+ logger *slog.Logger
+ logLevel = new(slog.LevelVar)
)
var (
activeChatName string
@@ -547,7 +547,7 @@ out:
if cfg.TTS_ENABLED {
// audioStream.TextChan <- chunk
extra.TTSFlushChan <- true
- logger.Info("sending flushchan signal")
+ logger.Debug("sending flushchan signal")
}
break out
}
diff --git a/config.example.toml b/config.example.toml
index b8e95cc..47e4408 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -32,7 +32,7 @@ STT_ENABLED = false
STT_TYPE = "WHISPER_SERVER" # WHISPER_SERVER or WHISPER_BINARY
STT_URL = "http://localhost:8081/inference"
WhisperBinaryPath = "./batteries/whisper.cpp/build/bin/whisper-cli" # Path to whisper binary (for WHISPER_BINARY mode)
-WhisperModelPath = "./batteries/whisper.cpp/ggml-large-v3-turbo.bin" # Path to whisper model file (for WHISPER_BINARY mode)
+WhisperModelPath = "./batteries/whisper.cpp/ggml-large-v3-turbo-q5_0.bin" # Path to whisper model file (for WHISPER_BINARY mode)
STT_LANG = "en" # Language for speech recognition (for WHISPER_BINARY mode)
STT_SR = 16000 # Sample rate for audio recording
DBPATH = "gflt.db"