LocalAI/core
LocalAI [bot] c187b160e7
fix(gallery): clean up partially downloaded backend on installation failure (#8679)
When a backend download fails (e.g., on Mac OS with port conflicts causing
connection issues), the backend directory is left with partial files.
This causes subsequent installation attempts to fail with 'run file not
found' because the sanity check runs on an empty/partial directory.

This fix cleans up the backend directory when the initial download fails
before attempting fallback URIs or mirrors. This ensures a clean state
for retry attempts.

Fixes: #8016

Signed-off-by: localai-bot <localai-bot@users.noreply.github.com>
Co-authored-by: localai-bot <localai-bot@users.noreply.github.com>
2026-02-28 13:10:53 +01:00
..
application fix: improve watchdown logics (#8591) 2026-02-17 18:49:22 +01:00
backend feat(traces): Add backend traces (#8609) 2026-02-20 23:47:33 +01:00
cli fix: rename json_verbose to verbose_json (#8627) 2026-02-23 17:57:06 +00:00
clients feat(store): add Golang client (#1977) 2024-04-16 15:54:14 +02:00
config fix(cli): Fix watchdog running constantly and spamming logs (#8624) 2026-02-23 11:57:28 +01:00
dependencies_manager fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
explorer chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
gallery fix(gallery): clean up partially downloaded backend on installation failure (#8679) 2026-02-28 13:10:53 +01:00
http fix(chat): do not send thinking/reasoning messages to the LLM (#8656) 2026-02-26 00:06:35 +01:00
p2p chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
schema Add sample_rate support to TTS API via post-processing resampling (#8650) 2026-02-25 16:36:27 +01:00
services fix(gallery): Use YAML v3 to avoid merging maps with incompatible keys (#8580) 2026-02-16 14:10:19 +01:00
startup feat(api): Add transcribe response format request parameter & adjust STT backends (#8318) 2026-02-01 17:33:17 +01:00
templates chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
trace feat(traces): Add backend traces (#8609) 2026-02-20 23:47:33 +01:00