summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-07-27 11:35:13 +0300
committerGrail Finder <wohilas@gmail.com>2025-07-27 11:35:13 +0300
commita4b7503e79f9e2cb96099c459fe64d15c4bf5140 (patch)
tree6ffd063d307148079e9b62b41a62e863692ed9eb /config
parentcd606a774ea3207c671b269377a4457ef51a72e1 (diff)
Feat: user can send messages under different personas
Diffstat (limited to 'config')
-rw-r--r--config/config.go20
1 files changed, 11 insertions, 9 deletions
diff --git a/config/config.go b/config/config.go
index e612aa7..39f0208 100644
--- a/config/config.go
+++ b/config/config.go
@@ -15,15 +15,17 @@ type Config struct {
CurrentProvider string
APIMap map[string]string
//
- ShowSys bool `toml:"ShowSys"`
- LogFile string `toml:"LogFile"`
- UserRole string `toml:"UserRole"`
- ToolRole string `toml:"ToolRole"`
- ToolUse bool `toml:"ToolUse"`
- ThinkUse bool `toml:"ThinkUse"`
- AssistantRole string `toml:"AssistantRole"`
- SysDir string `toml:"SysDir"`
- ChunkLimit uint32 `toml:"ChunkLimit"`
+ ShowSys bool `toml:"ShowSys"`
+ LogFile string `toml:"LogFile"`
+ UserRole string `toml:"UserRole"`
+ ToolRole string `toml:"ToolRole"`
+ ToolUse bool `toml:"ToolUse"`
+ ThinkUse bool `toml:"ThinkUse"`
+ AssistantRole string `toml:"AssistantRole"`
+ SysDir string `toml:"SysDir"`
+ ChunkLimit uint32 `toml:"ChunkLimit"`
+ WriteNextMsgAs string
+ SkipLLMResp bool
// embeddings
RAGEnabled bool `toml:"RAGEnabled"`
EmbedURL string `toml:"EmbedURL"`