summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-12-27 11:10:03 +0300
committerGrail Finder <wohilas@gmail.com>2025-12-27 11:10:03 +0300
commitaf2684664725f3e5da79d1d53e714b48e430e6fb (patch)
tree6394800509b9c61efcab724cf95b5ab96fc0dd04 /tui.go
parent10b2816af15b592aeed73ce1d7fd261f397a4761 (diff)
Enha: summary agent
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tui.go b/tui.go
index e6be85b..31e0f25 100644
--- a/tui.go
+++ b/tui.go
@@ -831,7 +831,7 @@ func init() {
// there is no case where user msg is regenerated
// lastRole := chatBody.Messages[len(chatBody.Messages)-1].Role
textView.SetText(chatToText(cfg.ShowSys))
- go chatRound("", cfg.UserRole, textView, true, false, false)
+ go chatRound("", cfg.UserRole, textView, true, false)
return nil
}
if event.Key() == tcell.KeyF3 && !botRespMode {
@@ -1134,7 +1134,7 @@ func init() {
// INFO: continue bot/text message
// without new role
lastRole := chatBody.Messages[len(chatBody.Messages)-1].Role
- go chatRound("", lastRole, textView, false, true, false)
+ go chatRound("", lastRole, textView, false, true)
return nil
}
if event.Key() == tcell.KeyCtrlQ {
@@ -1294,7 +1294,7 @@ func init() {
textView.ScrollToEnd()
colorText()
}
- go chatRound(msgText, persona, textView, false, false, false)
+ go chatRound(msgText, persona, textView, false, false)
// Also clear any image attachment after sending the message
go func() {
// Wait a short moment for the message to be processed, then clear the image attachment