summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-01-25 09:59:07 +0300
committerGrail Finder <wohilas@gmail.com>2026-01-25 09:59:07 +0300
commitfa192a262410eb98b42ff8fb9e0f4e1111240514 (patch)
tree66cf6956377c8b96b08e76556a13e45e615b827e /config/config.go
parent98138728542d0ed529d9d3a389c3531945d971f3 (diff)
Feat: autoturn
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go27
1 files changed, 14 insertions, 13 deletions
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) {