summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-05 08:24:51 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-05 08:25:06 +0300
commitd0722c6f98aa4755f271aefdd8af1cca28fb6f35 (patch)
tree828b4d466711cdadc2b1cd6bbc6ec9e6c4c1c6d3 /tui.go
parent685738a5a4f7488a0f1b87d360c71912aa575d65 (diff)
Fix: add regen param for f2
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go2
1 files changed, 1 insertions, 1 deletions
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 {