summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui.go b/tui.go
index b5480ed..a4f9728 100644
--- a/tui.go
+++ b/tui.go
@@ -858,7 +858,7 @@ func init() {
updateStatusLine()
return nil
}
- if event.Key() == tcell.KeyF2 {
+ if event.Key() == tcell.KeyF2 && !botRespMode {
// regen last msg
if len(chatBody.Messages) == 0 {
if err := notifyUser("info", "no messages to regenerate"); err != nil {