mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-24 11:45:00 +00:00
feat(backend gallery): display download progress
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
9bcf4c56f1
commit
5eec573722
4 changed files with 61 additions and 7 deletions
|
@ -44,7 +44,7 @@ func InstallBackend(basePath string, config *GalleryBackend, downloadStatus func
|
|||
return fmt.Errorf("failed to create backend path %q: %v", backendPath, err)
|
||||
}
|
||||
|
||||
if err := oci.ExtractOCIImage(img, backendPath); err != nil {
|
||||
if err := oci.ExtractOCIImage(img, backendPath, downloadStatus); err != nil {
|
||||
return fmt.Errorf("failed to extract image %q: %v", config.URI, err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue