Fix: resolve points on the fixlist

This commit is contained in:
Grail Finder
2024-12-07 12:53:35 +03:00
parent e811bc51d4
commit 7c4d057994
5 changed files with 36 additions and 17 deletions

View File

@@ -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
}