mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-25 12:15:00 +00:00
feat(ui): add error page to display errors
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
0d590a4044
commit
67244b7de1
3 changed files with 68 additions and 1 deletions
|
@ -120,6 +120,7 @@ func (mgs *ModelGalleryEndpointService) ListModelFromGalleryEndpoint() func(c *f
|
|||
|
||||
models, err := gallery.AvailableGalleryModels(mgs.galleries, mgs.modelPath)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("could not list models from galleries")
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue