From d0722c6f98aa4755f271aefdd8af1cca28fb6f35 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Thu, 5 Feb 2026 08:24:51 +0300 Subject: Fix: add regen param for f2 --- tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tui.go') diff --git a/tui.go b/tui.go index 8b1c520..c1f2917 100644 --- a/tui.go +++ b/tui.go @@ -874,7 +874,7 @@ func init() { // lastRole := chatBody.Messages[len(chatBody.Messages)-1].Role textView.SetText(chatToText(chatBody.Messages, cfg.ShowSys)) // go chatRound("", cfg.UserRole, textView, true, false) - chatRoundChan <- &models.ChatRoundReq{Role: cfg.UserRole} + chatRoundChan <- &models.ChatRoundReq{Role: cfg.UserRole, Regen: true} return nil } if event.Key() == tcell.KeyF3 && !botRespMode { -- cgit v1.2.3