Fix (llama.cpp) model update

This commit is contained in:
Grail Finder
2026-02-09 15:42:40 +03:00
parent a13a1634f7
commit 0afb98246b

View File

@@ -18,9 +18,7 @@ func showModelSelectionPopup() {
return ORFreeModels return ORFreeModels
} }
// Assume local llama.cpp // Assume local llama.cpp
refreshLocalModelsIfEmpty() updateModelLists()
localModelsMu.RLock()
defer localModelsMu.RUnlock()
return LocalModels return LocalModels
} }
// Get the current model list based on the API // Get the current model list based on the API