LocalAI/core/gallery
Copilot 673a80a578
feat: Filter backend gallery by system capabilities (#7950)
* Initial plan

* Add backend gallery filtering based on system capabilities

Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>

* Refactor L4T backend check to come before NVIDIA check

Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>

* Refactor: move capabilities business logic to capabilities.go and use constants

Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>

* feat: display system capability in webui and refactor tests

Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>

* chore: rename System/Capability

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

* refactor: use getSystemCapabilities in IsBackendCompatible for consistency

Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>

* refactor: keep unused constants private in capabilities.go

Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>

* fix: skip AMD/ROCm and Intel/SYCL tests on darwin

Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
2026-01-10 23:34:01 +01:00
..
importers chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
backend_types.go feat: Filter backend gallery by system capabilities (#7950) 2026-01-10 23:34:01 +01:00
backends.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
backends_test.go feat: Filter backend gallery by system capabilities (#7950) 2026-01-10 23:34:01 +01:00
gallery.go feat: Filter backend gallery by system capabilities (#7950) 2026-01-10 23:34:01 +01:00
gallery_suite_test.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00
gallery_test.go feat(ui): allow to order search results (#7507) 2025-12-11 00:11:33 +01:00
metadata_type.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00
models.go fix: add nil checks before mergo.Merge to prevent panic in gallery model installation (#7785) 2025-12-30 09:51:45 +01:00
models_test.go fix: add nil checks before mergo.Merge to prevent panic in gallery model installation (#7785) 2025-12-30 09:51:45 +01:00
models_types.go feat(ui): allow to order search results (#7507) 2025-12-11 00:11:33 +01:00
request_test.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00