mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
feat: allow to override model config (#323)
This commit is contained in:
parent
7bc08797f9
commit
05a3d569b0
12 changed files with 269 additions and 64 deletions
|
@ -74,7 +74,7 @@ func App(c context.Context, configFile string, loader *model.ModelLoader, upload
|
|||
applier := newGalleryApplier(loader.ModelPath)
|
||||
applier.start(c, cm)
|
||||
app.Post("/models/apply", applyModelGallery(loader.ModelPath, cm, applier.C))
|
||||
app.Get("/models/jobs/:uid", getOpStatus(applier))
|
||||
app.Get("/models/jobs/:uuid", getOpStatus(applier))
|
||||
|
||||
// openAI compatible API endpoint
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue