From 86260e218c8320b227d84bb3df1ba4e11779d504 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sun, 22 Feb 2026 07:41:09 +0300 Subject: Enha: moke (loaded) indicator prefix instead of a suffix --- popups.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'popups.go') diff --git a/popups.go b/popups.go index e5c46a1..9fdc1fd 100644 --- a/popups.go +++ b/popups.go @@ -62,7 +62,7 @@ func showModelSelectionPopup() { } modelListWidget.SetSelectedFunc(func(index int, mainText string, secondaryText string, shortcut rune) { // Strip "(loaded)" suffix if present for local llama.cpp models - modelName := strings.TrimSuffix(mainText, " (loaded)") + modelName := strings.TrimPrefix(mainText, "(loaded) ") // Update the model in both chatBody and config chatBody.Model = modelName cfg.CurrentModel = chatBody.Model -- cgit v1.2.3