summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.go14
1 files changed, 9 insertions, 5 deletions
diff --git a/config/config.go b/config/config.go
index 20935a2..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"`
@@ -61,10 +65,10 @@ type Config struct {
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"`
+ // character spefic contetx
+ CharSpecificContextEnabled bool `toml:"CharSpecificContextEnabled"`
+ CharSpecificContextTag string `toml:"CharSpecificContextTag"`
+ AutoTurn bool `toml:"AutoTurn"`
}
func LoadConfig(fn string) (*Config, error) {