summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpfuncs.go1
-rw-r--r--tui.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/helpfuncs.go b/helpfuncs.go
index 7033f04..dff53b9 100644
--- a/helpfuncs.go
+++ b/helpfuncs.go
@@ -91,7 +91,6 @@ func colorText() {
for i, cb := range codeBlocks {
text = strings.Replace(text, fmt.Sprintf(placeholder, i), cb, 1)
}
- logger.Debug("thinking debug", "blocks", thinkBlocks)
for i, tb := range thinkBlocks {
text = strings.Replace(text, fmt.Sprintf(placeholderThink, i), tb, 1)
}
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 {