summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-24 08:59:34 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-24 08:59:34 +0300
commit9af21895c6d15e7ab648f35acd44afc9675b54b7 (patch)
tree41df561f6a5238219bf8544fd77137889bfccc52 /tui.go
parente3bd6f219f0f108fede8bcfd8326888801edeed7 (diff)
Chore: remove cfg.ThinkUse
move cleaning image attachment to the end of chatRound fmt cleanup
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/tui.go b/tui.go
index 0e95709..c7bfa06 100644
--- a/tui.go
+++ b/tui.go
@@ -995,13 +995,6 @@ func init() {
}
// go chatRound(msgText, persona, textView, false, false)
chatRoundChan <- &models.ChatRoundReq{Role: persona, UserMsg: msgText}
- // 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
- // This allows the image to be sent with the current message if it was attached
- // But clears it for the next message
- ClearImageAttachment()
- }()
}
return nil
}