From fa192a262410eb98b42ff8fb9e0f4e1111240514 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sun, 25 Jan 2026 09:59:07 +0300 Subject: Feat: autoturn --- config/config.go | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'config/config.go') diff --git a/config/config.go b/config/config.go index 62c8331..381fa72 100644 --- a/config/config.go +++ b/config/config.go @@ -54,19 +54,20 @@ type Config struct { TTS_PROVIDER string `toml:"TTS_PROVIDER"` TTS_LANGUAGE string `toml:"TTS_LANGUAGE"` // STT - STT_TYPE string `toml:"STT_TYPE"` // WHISPER_SERVER, WHISPER_BINARY - STT_URL string `toml:"STT_URL"` - STT_SR int `toml:"STT_SR"` - STT_ENABLED bool `toml:"STT_ENABLED"` - WhisperBinaryPath string `toml:"WhisperBinaryPath"` - WhisperModelPath string `toml:"WhisperModelPath"` - STT_LANG string `toml:"STT_LANG"` - DBPATH string `toml:"DBPATH"` - FilePickerDir string `toml:"FilePickerDir"` - FilePickerExts string `toml:"FilePickerExts"` - EnableMouse bool `toml:"EnableMouse"` - CharSpecificContextEnabled bool `toml:"CharSpecificContextEnabled"` - CharSpecificContextTag string `toml:"CharSpecificContextTag"` + STT_TYPE string `toml:"STT_TYPE"` // WHISPER_SERVER, WHISPER_BINARY + STT_URL string `toml:"STT_URL"` + STT_SR int `toml:"STT_SR"` + STT_ENABLED bool `toml:"STT_ENABLED"` + WhisperBinaryPath string `toml:"WhisperBinaryPath"` + WhisperModelPath string `toml:"WhisperModelPath"` + STT_LANG string `toml:"STT_LANG"` + DBPATH string `toml:"DBPATH"` + FilePickerDir string `toml:"FilePickerDir"` + FilePickerExts string `toml:"FilePickerExts"` + EnableMouse bool `toml:"EnableMouse"` + CharSpecificContextEnabled bool `toml:"CharSpecificContextEnabled"` + CharSpecificContextTag string `toml:"CharSpecificContextTag"` + AutoTurn bool } func LoadConfig(fn string) (*Config, error) { -- cgit v1.2.3