summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-20 12:14:45 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-20 12:14:45 +0300
commit35cc8c068f0883e685cef3824b0a238145c680a1 (patch)
tree0d5727f4b458c15f3eacde8ce2d28d5d720ed0b3 /bot.go
parent27fdec13611a5757ff35e15606e939c4e15187cf (diff)
Fix: force update statusline on colorchange
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot.go b/bot.go
index 830f344..a2a0d69 100644
--- a/bot.go
+++ b/bot.go
@@ -456,6 +456,7 @@ func monitorModelLoad(modelID string) {
if err := notifyUser("model loaded", "Model "+modelID+" is now loaded and ready."); err != nil {
logger.Debug("failed to notify user", "error", err)
}
+ refreshChatDisplay()
return
}
}
@@ -763,6 +764,7 @@ func chatWatcher(ctx context.Context) {
func chatRound(r *models.ChatRoundReq) error {
botRespMode = true
+ updateStatusLine()
botPersona := cfg.AssistantRole
if cfg.WriteNextMsgAsCompletionAgent != "" {
botPersona = cfg.WriteNextMsgAsCompletionAgent