Enha: loaded model on top

This commit is contained in:
Grail Finder
2026-02-24 10:31:01 +03:00
parent 9af21895c6
commit c39e1c267d
2 changed files with 10 additions and 3 deletions

View File

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