From 8b162ef34f0755e2224c43499218def16d4b6845 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 17 Jan 2026 11:42:35 +0300 Subject: Enha: change textview chat history based on current user persona --- helpfuncs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpfuncs.go') diff --git a/helpfuncs.go b/helpfuncs.go index 73f8fb0..ccb5858 100644 --- a/helpfuncs.go +++ b/helpfuncs.go @@ -109,7 +109,7 @@ func startNewChat() { } // set chat body chatBody.Messages = chatBody.Messages[:2] - textView.SetText(chatToText(cfg.ShowSys)) + textView.SetText(chatToText(chatBody.Messages, cfg.ShowSys)) newChat := &models.Chat{ ID: id + 1, Name: fmt.Sprintf("%d_%s", id+1, cfg.AssistantRole), -- cgit v1.2.3