From 1396b3eb05c32d868a3e07b8f60813f28d2042f8 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sun, 15 Mar 2026 08:05:12 +0300 Subject: Refactor: moving tool related code into tools package --- tables.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tables.go') 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) -- cgit v1.2.3