LocalAI/pkg/utils
Dave 005f289632
feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints ()
refactor for model gallery endpoints - bundle up resources into a
struct, make galleries mutable with some crud endpoints. This is
groundwork required for making efficient use of the new scraper - while
that PR isn't _quite_ ready yet, the goal is to have more, individually
smaller gallery files. Therefore, rather than requiring a full localai
service restart, these new endpoints have been added to make life
easier.

- Adds endpoints to add, list and remove model galleries at runtime
- Adds these endpoints to the Insomnia config
- Minor fix: loading file urls follows symbolic links now
2023-09-02 09:00:44 +02:00
..
json.go fix: do not break on newlines on function returns () 2023-08-04 21:46:36 +02:00
logging.go feat: add external grpc and model autoloading 2023-07-20 22:10:12 +02:00
path.go Fix: Model Gallery Downloads () 2023-07-30 09:47:22 +02:00
untar.go Gallery repository () 2023-06-24 08:18:17 +02:00
uri_test.go refactor: consolidate usage of GetURI () 2023-06-26 12:25:38 +02:00
uri.go feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints () 2023-09-02 09:00:44 +02:00
utils_suite_test.go refactor: consolidate usage of GetURI () 2023-06-26 12:25:38 +02:00