LocalAI/core/http/routes
Ettore Di Giacinto bfdc29d316
fix(gallery): correctly show status for downloading OCI images (#5774)
We can't use the mutate.Extract written bytes as current status as that
will be bigger than the compressed image size. Image manifest don't have
any guarantee of the type of artifact (can be compressed or not) when
showing the layer size.

Split the extraction process in two parts: Downloading and extracting as
a flattened system, in this way we can display the status of downloading
and extracting accordingly.

This change also fixes a small nuance in detecting installed backends,
now it's more consistent and looks if a metadata.json and/or a path with
a `run.sh` file is present.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-07-02 08:25:48 +02:00
..
elevenlabs.go feat: Centralized Request Processing middleware (#3847) 2025-02-10 12:06:16 +01:00
explorer.go feat(explorer): make possible to run sync in a separate process (#3224) 2024-08-12 19:25:44 +02:00
health.go fix(health): do not require auth for /healthz and /readyz (#3656) 2024-09-24 18:25:59 +00:00
jina.go feat: Centralized Request Processing middleware (#3847) 2025-02-10 12:06:16 +01:00
localai.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00
openai.go feat: Realtime API support reboot (#5392) 2025-05-25 22:25:05 +02:00
ui.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00
ui_backend_gallery.go fix(gallery): correctly show status for downloading OCI images (#5774) 2025-07-02 08:25:48 +02:00
ui_gallery.go fix(gallery): correctly show status for downloading OCI images (#5774) 2025-07-02 08:25:48 +02:00