mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-27 21:24:59 +00:00
chore(tests): try to fixup current tests
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
814ac8029e
commit
1c64c83909
2 changed files with 3 additions and 2 deletions
|
@ -768,7 +768,8 @@ var _ = Describe("API test", func() {
|
||||||
}
|
}
|
||||||
|
|
||||||
response := postModelApplyRequest("http://127.0.0.1:9090/models/apply", modelApplyRequest{
|
response := postModelApplyRequest("http://127.0.0.1:9090/models/apply", modelApplyRequest{
|
||||||
ID: "localai@sd-3.5-large-ggml",
|
ID: "localai@sd-3.5-large-ggml",
|
||||||
|
Name: "stablediffusion",
|
||||||
})
|
})
|
||||||
|
|
||||||
Expect(response["uuid"]).ToNot(BeEmpty(), fmt.Sprint(response))
|
Expect(response["uuid"]).ToNot(BeEmpty(), fmt.Sprint(response))
|
||||||
|
|
|
@ -72,7 +72,7 @@ func ImageEndpoint(cl *config.BackendConfigLoader, ml *model.ModelLoader, appCon
|
||||||
}
|
}
|
||||||
|
|
||||||
if m == "" {
|
if m == "" {
|
||||||
m = model.StableDiffusionGGMLBackend
|
m = "stablediffusion"
|
||||||
}
|
}
|
||||||
log.Debug().Msgf("Loading model: %+v", m)
|
log.Debug().Msgf("Loading model: %+v", m)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue