summaryrefslogtreecommitdiff
path: root/popups.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-09 15:42:40 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-09 15:42:40 +0300
commit0afb98246b0a46e2a599edb6e9074c7325d37de0 (patch)
tree25d1c93713d8620f89f78abd4fd2cc43a373517b /popups.go
parenta13a1634f70f80e78abe6966b0bafbbd4059378f (diff)
Fix (llama.cpp) model update
Diffstat (limited to 'popups.go')
-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