diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-24 10:31:01 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-24 10:31:01 +0300 |
| commit | c39e1c267deed0480ee360ba942fe881772891c1 (patch) | |
| tree | a53fc31b614a85f80060f0d8e9802cdc655182b6 /popups.go | |
| parent | 9af21895c6d15e7ab648f35acd44afc9675b54b7 (diff) | |
Enha: loaded model on top
Diffstat (limited to 'popups.go')
| -rw-r--r-- | popups.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
