LocalAI/core/cli
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
..
context feat(llama.cpp): Totally decentralized, private, distributed, p2p inference (#2343) 2024-05-20 19:17:59 +02:00
worker feat(p2p): Federation and AI swarms (#2723) 2024-07-08 22:04:06 +02:00
cli.go feat(p2p): Federation and AI swarms (#2723) 2024-07-08 22:04:06 +02:00
federated.go feat(federation): add load balanced option (#2915) 2024-07-18 23:18:53 +02:00
models.go fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00
run.go fix: short-circuit when nodes aren't detected (#2909) 2024-07-18 14:44:31 +02:00
transcript.go fix(cli): remove duplicate alias (#2654) 2024-06-25 10:08:13 +02:00
tts.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
util.go fix: be consistent in downloading files, check for scanner errors (#3108) 2024-08-02 20:06:25 +02:00