From 5f780287aecedf08f94b6a1e0ae2a8822683a3fc Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Tue, 10 Dec 2024 17:55:10 +0300 Subject: Fix: display and upsert correct roles and icons --- config/config.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/config.go') 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 = ": " + config.UserIcon = ": " + config.UserIcon = ": " config.SysDir = "sysprompts" config.ChunkLimit = 8192 } + // if any value is empty fill with default return config } -- cgit v1.2.3