LocalAI/core/cli
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
..
context chore: allow to set local-ai log format, default to custom one (#7679) 2025-12-21 21:21:59 +01:00
worker chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
backends.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
cli.go feat: Add shell completion support for bash, zsh, and fish (#8851) 2026-03-08 09:32:39 +01:00
completion.go feat: Add shell completion support for bash, zsh, and fish (#8851) 2026-03-08 09:32:39 +01:00
completion_test.go feat: Add shell completion support for bash, zsh, and fish (#8851) 2026-03-08 09:32:39 +01:00
explorer.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
federated.go chore: update cogito and simplify MCP logics (#6413) 2025-10-09 12:36:45 +02:00
models.go fix(cli): import via CLI needs system state (#7746) 2025-12-27 11:10:28 +01:00
run.go feat(cli): add configurable backend image fallback tags via CLI options (#8817) 2026-03-08 21:16:37 +01:00
soundgeneration.go fix: Remove debug print statement from soundgeneration.go (C2) (#8843) 2026-03-08 08:49:29 +01:00
transcript.go fix: rename json_verbose to verbose_json (#8627) 2026-02-23 17:57:06 +00:00
tts.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
util.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00