Skip to content

(Planning) add model management API to server #21779

Description

@ngxson

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions