summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go
index 0c62e76..0561d51 100644
--- a/config/config.go
+++ b/config/config.go
@@ -16,8 +16,8 @@ type Config struct {
AssistantIcon string `toml:"AssistantIcon"`
UserIcon string `toml:"UserIcon"`
ToolIcon string `toml:"ToolIcon"`
- ChunkLimit uint32 `toml:"ChunkLimit"`
SysDir string `toml:"SysDir"`
+ ChunkLimit uint32 `toml:"ChunkLimit"`
}
func LoadConfigOrDefault(fn string) *Config {
@@ -34,8 +34,8 @@ func LoadConfigOrDefault(fn string) *Config {
config.UserRole = "user"
config.ToolRole = "tool"
config.AssistantRole = "assistant"
- config.ChunkLimit = 8192
config.SysDir = "sysprompts"
+ config.ChunkLimit = 8192
}
return config
}