Chore: remove cfg.ThinkUse

move cleaning image attachment to the end of chatRound
fmt cleanup
This commit is contained in:
Grail Finder
2026-02-24 08:59:34 +03:00
parent e3bd6f219f
commit 9af21895c6
8 changed files with 13 additions and 46 deletions

7
tui.go
View File

@@ -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
}