summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--popups.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/popups.go b/popups.go
index 3087f2d..9a1a278 100644
--- a/popups.go
+++ b/popups.go
@@ -18,9 +18,7 @@ func showModelSelectionPopup() {
return ORFreeModels
}
// Assume local llama.cpp
- refreshLocalModelsIfEmpty()
- localModelsMu.RLock()
- defer localModelsMu.RUnlock()
+ updateModelLists()
return LocalModels
}
// Get the current model list based on the API