mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-29 01:17:36 -05:00
Address review on the HF data layer: - replace the HfModelSort / SidecarForm / sibling entry type string unions with enums (HfModelSort, SidecarForm, HfEntryType) - move URLs, query params, regexes, limits, retry settings, shard file conventions, tag tokens and formatting units into a dedicated huggingface.constants.ts; reuse the existing PATH_SEPARATOR - drop the task label / pipeline icon / library display maps: the discover UI only presents GGUF models, so keep the task tags for logic use only (parseTags) - drop the hardcoded curated model list; the discover dialog gets its default list from the llama.app /v1/catalog.json endpoint, which is an acceptable online-only source since the feature requires internet access anyway Assisted-by: pi