diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-03 12:04:20 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-03 12:04:20 +0300 |
| commit | 0f5bbaa94390cd4d11facc8b2e7fb825b128ef31 (patch) | |
| tree | 0089e29c26a0411e9f3b107f513d4ce939be6e5f /config/config.go | |
| parent | 65b4f01177a38497b0ecb82b09f9dcded55c5acb (diff) | |
Enha: update config
Diffstat (limited to 'config/config.go')
| -rw-r--r-- | config/config.go | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/config/config.go b/config/config.go index 381fa72..bed24f6 100644 --- a/config/config.go +++ b/config/config.go @@ -26,7 +26,11 @@ type Config struct { WriteNextMsgAs string WriteNextMsgAsCompletionAgent string SkipLLMResp bool - AutoCleanToolCallsFromCtx bool `toml:"AutoCleanToolCallsFromCtx"` + AutoCleanToolCallsFromCtx bool `toml:"AutoCleanToolCallsFromCtx"` + DBPATH string `toml:"DBPATH"` + FilePickerDir string `toml:"FilePickerDir"` + FilePickerExts string `toml:"FilePickerExts"` + EnableMouse bool `toml:"EnableMouse"` // embeddings RAGEnabled bool `toml:"RAGEnabled"` EmbedURL string `toml:"EmbedURL"` @@ -54,20 +58,17 @@ 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"` + 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"` + // character spefic contetx CharSpecificContextEnabled bool `toml:"CharSpecificContextEnabled"` CharSpecificContextTag string `toml:"CharSpecificContextTag"` - AutoTurn bool + AutoTurn bool `toml:"AutoTurn"` } func LoadConfig(fn string) (*Config, error) { |
