Refactor: remove icons

This commit is contained in:
Grail Finder
2025-02-02 17:58:07 +03:00
parent 7ca188dcdc
commit eb53b13381
7 changed files with 19 additions and 27 deletions

View File

@@ -77,7 +77,6 @@ func loadHistoryChat(chatName string) ([]models.RoleMsg, error) {
}
activeChatName = chatName
cfg.AssistantRole = chat.Agent
cfg.AssistantIcon = "<" + chat.Agent + ">: "
return chat.ToHistory()
}
@@ -129,8 +128,6 @@ func loadOldChatOrGetNew() []models.RoleMsg {
chatMap[chat.Name] = chat
activeChatName = chat.Name
cfg.AssistantRole = chat.Agent
// TODO: update assistant icon
cfg.AssistantIcon = "<" + chat.Agent + ">: "
return history
}