LocalAI/pkg/gallery
Dave 005f289632
feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints (#991)
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
..
gallery_suite_test.go feat: add /models/apply endpoint to prepare models (#286) 2023-05-18 15:59:03 +02:00
gallery.go feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints (#991) 2023-09-02 09:00:44 +02:00
models_test.go refactor: Remove remaining uses of depreciated package io/ioutil (#837) 2023-07-30 11:23:43 +00:00
models.go refactor: consolidate usage of GetURI (#674) 2023-06-26 12:25:38 +02:00
request_test.go refactor: consolidate usage of GetURI (#674) 2023-06-26 12:25:38 +02:00
request.go refactor: consolidate usage of GetURI (#674) 2023-06-26 12:25:38 +02:00