@@ -34,7 +34,7 @@ func CreateBackendEndpointService(galleries []config.Gallery, backendPath string
3434
3535// GetOpStatusEndpoint returns the job status
3636// @Summary Returns the job status
37- // @Success 200 {object} services.BackendOpStatus "Response"
37+ // @Success 200 {object} services.GalleryOpStatus "Response"
3838// @Router /backends/jobs/{uuid} [get]
3939func (mgs * BackendEndpointService ) GetOpStatusEndpoint () func (c * fiber.Ctx ) error {
4040 return func (c * fiber.Ctx ) error {
@@ -48,7 +48,7 @@ func (mgs *BackendEndpointService) GetOpStatusEndpoint() func(c *fiber.Ctx) erro
4848
4949// GetAllStatusEndpoint returns all the jobs status progress
5050// @Summary Returns all the jobs status progress
51- // @Success 200 {object} map[string]services.BackendOpStatus "Response"
51+ // @Success 200 {object} map[string]services.GalleryOpStatus "Response"
5252// @Router /backends/jobs [get]
5353func (mgs * BackendEndpointService ) GetAllStatusEndpoint () func (c * fiber.Ctx ) error {
5454 return func (c * fiber.Ctx ) error {
@@ -58,7 +58,7 @@ func (mgs *BackendEndpointService) GetAllStatusEndpoint() func(c *fiber.Ctx) err
5858
5959// ApplyBackendEndpoint installs a new backend to a LocalAI instance
6060// @Summary Install backends to LocalAI.
61- // @Param request body BackendModel true "query params"
61+ // @Param request body GalleryBackend true "query params"
6262// @Success 200 {object} schema.BackendResponse "Response"
6363// @Router /backends/apply [post]
6464func (mgs * BackendEndpointService ) ApplyBackendEndpoint () func (c * fiber.Ctx ) error {
0 commit comments