mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-04 02:37:27 +02:00
ui : exclude in-flight downloads from the loadable model list
Downloading entries are not usable models yet; the selector tracks them in its download-progress section instead. Assisted-by: pi:zai-org/GLM-5.3
This commit is contained in:
@@ -374,6 +374,9 @@ class ModelsStore implements ModelPropsHost, ModelStatusHost {
|
||||
entries
|
||||
// sidecar entries mark downloaded sidecar files, not loadable models
|
||||
.filter(({ item }) => !ModelsService.isSidecarEntry(item.id))
|
||||
// in-flight downloads are not usable models yet; the selector tracks
|
||||
// them in its "Download in progress" section instead
|
||||
.filter(({ item }) => item.status?.value !== ServerModelStatus.DOWNLOADING)
|
||||
.map(({ details, item }) => {
|
||||
const rawCapabilities = Array.isArray(details?.capabilities) ? details?.capabilities : [];
|
||||
const displayNameSource =
|
||||
|
||||
Reference in New Issue
Block a user