LocalAI/core/gallery
LocalAI [bot] 2334556a8f
feat(cli): add configurable backend image fallback tags via CLI options (#8817)
* feat(cli): add configurable backend image fallback tags via CLI options

- Add three new CLI flags: --backend-images-release-tag, --backend-images-branch-tag, --backend-dev-suffix
- Add corresponding fields to SystemState for passing configuration
- Add WithBackendImagesReleaseTag, WithBackendImagesBranchTag, WithBackendDevSuffix options
- Modify getFallbackTagValues to use SystemState instead of environment variables
- Pass CLI options through to SystemState in run.go

Signed-off-by: localai-bot <localai-bot@users.noreply.github.com>

* fix: add missing os import in core/gallery/backends.go

Signed-off-by: localai-bot <localai-bot@users.noreply.github.com>

---------

Signed-off-by: localai-bot <localai-bot@users.noreply.github.com>
Co-authored-by: localai-bot <localai-bot@users.noreply.github.com>
2026-03-08 21:16:37 +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 feat(cli): add configurable backend image fallback tags via CLI options (#8817) 2026-03-08 21:16:37 +01:00
backends_test.go fix(gallery): Use YAML v3 to avoid merging maps with incompatible keys (#8580) 2026-02-16 14:10:19 +01:00
gallery.go fix(gallery): Use YAML v3 to avoid merging maps with incompatible keys (#8580) 2026-02-16 14:10:19 +01:00
gallery_suite_test.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00
gallery_test.go fix(gallery): Use YAML v3 to avoid merging maps with incompatible keys (#8580) 2026-02-16 14:10:19 +01:00
metadata_type.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00
models.go fix: change file permissions from 0600 to 0644 in InstallModel (#8657) 2026-02-26 09:38:54 +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