mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix: rename /models/list to /models/available (#678)
This commit is contained in:
parent
c2dec387aa
commit
2b957df56c
2 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ func App(opts ...AppOption) (*fiber.App, error) {
|
|||
applier.start(options.context, cm)
|
||||
|
||||
app.Post("/models/apply", applyModelGallery(options.loader.ModelPath, cm, applier.C, options.galleries))
|
||||
app.Get("/models/list", listModelFromGallery(options.galleries, options.loader.ModelPath))
|
||||
app.Get("/models/available", listModelFromGallery(options.galleries, options.loader.ModelPath))
|
||||
app.Get("/models/jobs/:uuid", getOpStatus(applier))
|
||||
|
||||
// openAI compatible API endpoint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue