summaryrefslogtreecommitdiff
path: root/popups.go
diff options
context:
space:
mode:
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)