summaryrefslogtreecommitdiff
path: root/tables.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-15 08:05:12 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-15 08:05:12 +0300
commit1396b3eb05c32d868a3e07b8f60813f28d2042f8 (patch)
tree85dede977e3a9adcaecefcf19397a9b416dfbc4c /tables.go
parent619b19cb46061c89aa4a837ed1e6bfea76644bd8 (diff)
Refactor: moving tool related code into tools package
Diffstat (limited to 'tables.go')
-rw-r--r--tables.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tables.go b/tables.go
index e47a1ce..d175ae6 100644
--- a/tables.go
+++ b/tables.go
@@ -2,6 +2,7 @@ package main
import (
"fmt"
+ "gf-lt/tools"
"image"
"os"
"path"
@@ -171,7 +172,7 @@ func makeChatTable(chatMap map[string]models.Chat) *tview.Table {
return
case "move sysprompt onto 1st msg":
chatBody.Messages[1].Content = chatBody.Messages[0].Content + chatBody.Messages[1].Content
- chatBody.Messages[0].Content = rpDefenitionSysMsg
+ chatBody.Messages[0].Content = tools.RpDefenitionSysMsg
textView.SetText(chatToText(chatBody.Messages, cfg.ShowSys))
activeChatName = selectedChat
pages.RemovePage(historyPage)