diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-15 08:05:12 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-15 08:05:12 +0300 |
| commit | 1396b3eb05c32d868a3e07b8f60813f28d2042f8 (patch) | |
| tree | 85dede977e3a9adcaecefcf19397a9b416dfbc4c /tables.go | |
| parent | 619b19cb46061c89aa4a837ed1e6bfea76644bd8 (diff) | |
Refactor: moving tool related code into tools package
Diffstat (limited to 'tables.go')
| -rw-r--r-- | tables.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
