Fix (llama.cpp) model update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user