diff options
author | Grail Finder <wohilas@gmail.com> | 2025-02-02 17:58:07 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-02-02 17:58:07 +0300 |
commit | eb53b13381b6f86e8b0584b8bdc980414dbf92df (patch) | |
tree | 956e166e45a8f13d79846b604eb04fb8cd979079 /models | |
parent | 7ca188dcdc9e98e3222a05a160006c76c1b84862 (diff) |
Refactor: remove icons
Diffstat (limited to 'models')
-rw-r--r-- | models/models.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/models.go b/models/models.go index 6404464..c760569 100644 --- a/models/models.go +++ b/models/models.go @@ -61,13 +61,13 @@ func (m RoleMsg) ToText(i int, cfg *config.Config) string { if !strings.HasPrefix(m.Content, cfg.UserRole+":") && !strings.HasPrefix(m.Content, cfg.AssistantRole+":") { switch m.Role { case "assistant": - icon = fmt.Sprintf("(%d) %s", i, cfg.AssistantIcon) + icon = fmt.Sprintf("(%d) <%s>: ", i, cfg.AssistantRole) case "user": - icon = fmt.Sprintf("(%d) %s", i, cfg.UserIcon) + icon = fmt.Sprintf("(%d) <%s>: ", i, cfg.UserRole) case "system": icon = fmt.Sprintf("(%d) <system>: ", i) case "tool": - icon = fmt.Sprintf("(%d) %s", i, cfg.ToolIcon) + icon = fmt.Sprintf("(%d) <%s>: ", i, cfg.ToolRole) default: icon = fmt.Sprintf("(%d) <%s>: ", i, m.Role) } |