summaryrefslogtreecommitdiff
path: root/popups.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-24 10:31:01 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-24 10:31:01 +0300
commitc39e1c267deed0480ee360ba942fe881772891c1 (patch)
treea53fc31b614a85f80060f0d8e9802cdc655182b6 /popups.go
parent9af21895c6d15e7ab648f35acd44afc9675b54b7 (diff)
Enha: loaded model on top
Diffstat (limited to 'popups.go')
-rw-r--r--popups.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/popups.go b/popups.go
index 829a412..a1c3cd3 100644
--- a/popups.go
+++ b/popups.go
@@ -51,7 +51,7 @@ func showModelSelectionPopup() {
// Find the current model index to set as selected
currentModelIndex := -1
for i, model := range modelList {
- if model == chatBody.Model {
+ if strings.TrimPrefix(model, "(loaded) ") == chatBody.Model {
currentModelIndex = i
}
modelListWidget.AddItem(model, "", 0, nil)