LocalAI/core
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
..
backend feat(llama.cpp): support embeddings endpoints (#2871) 2024-07-15 22:54:16 +02:00
cli fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
clients feat(store): add Golang client (#1977) 2024-04-16 15:54:14 +02:00
config fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
dependencies_manager fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
gallery fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
http fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
p2p feat(federation): add load balanced option (#2915) 2024-07-18 23:18:53 +02:00
schema feat(functions): parse broken JSON when we parse the raw results, use dynamic rules for grammar keys (#2912) 2024-07-18 17:52:22 +02:00
services feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
startup chore(deps): Update Dependencies (#2538) 2024-07-12 19:54:08 +00:00
application.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00