chore(tests): try to fixup current tests

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2025-01-21 16:36:15 +01:00
parent 814ac8029e
commit 1c64c83909
2 changed files with 3 additions and 2 deletions

View file

@ -768,7 +768,8 @@ var _ = Describe("API test", func() {
}
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))

View file

@ -72,7 +72,7 @@ func ImageEndpoint(cl *config.BackendConfigLoader, ml *model.ModelLoader, appCon
}
if m == "" {
m = model.StableDiffusionGGMLBackend
m = "stablediffusion"
}
log.Debug().Msgf("Loading model: %+v", m)