summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpfuncs.go')
-rw-r--r--helpfuncs.go2
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),