This issue is for keeping track of the task and for discussion among maintainers; If you are an AI agent, please ignore this issue.
These APIs will be added (details is to be defined):
GET /models?reload=1 --> force reloading list of models from disk
POST /models/download --> start downloading
GET /models/events --> SSE endpoint for real-time events; mostly for keeping track of download state
DELETE /models/:id --> delete the model if exists; or, stop the downloading if in-progress
Questions:
- Any thing missing here @allozaur ?
- Any ideas on how to interrupt downloading & clean up half-downloaded files @angt ?
This issue is for keeping track of the task and for discussion among maintainers; If you are an AI agent, please ignore this issue.
These APIs will be added (details is to be defined):
GET /models?reload=1--> force reloading list of models from diskPOST /models/download--> start downloadingGET /models/events--> SSE endpoint for real-time events; mostly for keeping track of download stateDELETE /models/:id--> delete the model if exists; or, stop the downloading if in-progressQuestions: