* Studio: hide the llama-server install validation probe from model pickers The ggml-org/models / stories260K probe (install_llama_prebuilt validates the prebuilt binary against it) can land in the HF cache and, being a 260K toy model, sorts smallest and gets auto-selected for chat. Hide it in _is_hidden_model alongside the RAG embedding model so it never surfaces. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test: assert the validation probe is hidden across all model pickers _is_hidden_model gates the model list, local, cached-GGUF and cached-models endpoints that feed the picker search, so cover both the repo-id and the on-disk snapshot-path forms callers pass. * Studio: match the validation probe by exact filename, not a bare substring Use the probe's repo id (ggml-org/models) plus its exact filename (stories260K.gguf) so the picker filter does not also hide unrelated repos that merely reference stories260K, e.g. user/stories260K-finetune-GGUF. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| hub | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| cloudflare_tunnel.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||