LocalAI/core/http
Ettore Di Giacinto a36b721ca6
fix: be consistent in downloading files, check for scanner errors (#3108)
* fix(downloader): be consistent in downloading files

This PR puts some order in the downloader such as functions are re-used
across several places.

This fixes an issue with having uri's inside the model YAML file, it
would resolve to MD5 rather then using the filename

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* fix(scanner): do raise error only if unsafeFiles are found

Fixes: https://github.com/mudler/LocalAI/issues/3114

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-08-02 20:06:25 +02:00
..
ctx feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
elements fix(gallery): do clear out errors once displayed (#3033) 2024-07-28 10:28:10 +02:00
endpoints fix(ui): do not show duplicate entries if not installed by gallery (#3107) 2024-08-01 17:27:40 +02:00
routes fix(gallery): do clear out errors once displayed (#3033) 2024-07-28 10:28:10 +02:00
static feat(p2p): Federation and AI swarms (#2723) 2024-07-08 22:04:06 +02:00
views feat(p2p): warn the user to start with --p2p (#2993) 2024-07-23 10:42:51 +02:00
app_test.go fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
app.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
http_suite_test.go fix: rename fiber entrypoint from http/api to http/app (#2096) 2024-04-21 22:39:28 +02:00
render.go rf: centralize base64 image handling (#2595) 2024-06-24 08:34:36 +02:00