summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2024-12-07 12:53:35 +0300
committerGrail Finder <wohilas@gmail.com>2024-12-07 12:53:35 +0300
commit7c4d0579943365dd363b659135e7db8c9fca474e (patch)
tree4a073dd1f512c4205477ac317d144a0c1004ce8b /config/config.go
parente811bc51d401ecde194df562034ae529943546d0 (diff)
Fix: resolve points on the fixlist
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
}