diff options
author | Grail Finder <wohilas@gmail.com> | 2024-12-10 17:55:10 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2024-12-10 17:55:10 +0300 |
commit | 5f780287aecedf08f94b6a1e0ae2a8822683a3fc (patch) | |
tree | 6de227e5f932bd5a2fa2cff3260ba23a68124e6d /config/config.go | |
parent | 67f36d417fa97c4087e326623508370f60d3d3b8 (diff) |
Fix: display and upsert correct roles and icons
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index 0561d51..074bfda 100644 --- a/config/config.go +++ b/config/config.go @@ -34,8 +34,12 @@ func LoadConfigOrDefault(fn string) *Config { config.UserRole = "user" config.ToolRole = "tool" config.AssistantRole = "assistant" + config.AssistantIcon = "<assistant>: " + config.UserIcon = "<user>: " + config.UserIcon = "<tool>: " config.SysDir = "sysprompts" config.ChunkLimit = 8192 } + // if any value is empty fill with default return config } |