feat: HuggingFace model management tab #19
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/hf-model-queue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/api/modelsrouter: HF model lookup by repo ID, approval queue with JSONL persistence, SSE download progress viasnapshot_download(), installed model listing, path-traversal-safe DELETEpipeline_tag→ adapter type mapping (zero-shot-classification→ ZeroShotAdapter,sentence-similarity→ RerankerAdapter,text-generation→ GenerationAdapter)ModelsView.vue: HF lookup + add to queue, approval queue with Approve/Dismiss, live SSE download progress bars, installed model table with deleteTest plan
pytest tests/test_models.py— 27/27 passcross-encoder/ms-marco-MiniLM-L-6-v2)DELETE /api/models/installed/../etcreturns 400- New /api/models router: HF lookup, approval queue (JSONL persistence), SSE download progress via snapshot_download(), installed model listing, path-traversal-safe DELETE - pipeline_tag → adapter type mapping (zero-shot-classification, sentence-similarity, text-generation) - 27 tests covering all endpoints, duplicate detection, path traversal - ModelsView.vue: HF lookup + add, approval queue, live download progress bars via SSE, installed model table with delete - Sidebar entry (🤗 Models) between Benchmark and Corrections