diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-01-17 11:42:35 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-01-17 11:42:35 +0300 |
| commit | 8b162ef34f0755e2224c43499218def16d4b6845 (patch) | |
| tree | 06c5a00c1f6680fbcf50dc5519887c5ff6a6f5c5 /helpfuncs.go | |
| parent | 12be6036902ba9fa1b403310422e5f6f3e6c1875 (diff) | |
Enha: change textview chat history based on current user persona
Diffstat (limited to 'helpfuncs.go')
| -rw-r--r-- | helpfuncs.go | 2 |
1 files changed, 1 insertions, 1 deletions
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), |
