Skip to content

feat(cli): add configurable backend image fallback tags via CLI options#8817

Merged
mudler merged 2 commits intomudler:masterfrom
localai-bot:feature/backend-fallback-tags
Mar 8, 2026
Merged

feat(cli): add configurable backend image fallback tags via CLI options#8817
mudler merged 2 commits intomudler:masterfrom
localai-bot:feature/backend-fallback-tags

Conversation

@localai-bot
Copy link
Copy Markdown
Contributor

This PR re-implements the configurable backend image fallback tags feature via CLI options.

Changes

  • 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

Related

Re-creation of PR #8811 from clean state.

- 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>
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 6, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit ad4c888
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69ac3150ae675a00088ee616
😎 Deploy Preview https://deploy-preview-8817--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@localai-bot
Copy link
Copy Markdown
Contributor Author

Fixed CI Compilation Error\n\nAdded missing import in that was causing compilation failures in the CI pipeline.\n\nChanges:\n- Added import to fix errors in \n\nThe fix has been pushed to the PR branch. CI should now pass.

Signed-off-by: localai-bot <localai-bot@users.noreply.github.com>
@localai-bot localai-bot force-pushed the feature/backend-fallback-tags branch from a4cfddc to ad4c888 Compare March 7, 2026 14:08
@localai-bot
Copy link
Copy Markdown
Contributor Author

Fixed DCO Check Failure\n\nFixed the DCO (Developer Certificate of Origin) check failure by amending the commit with a proper Signed-off-by trailer.\n\nChanges:\n- Amended the most recent commit to add trailer\n- Force-pushed to the PR branch\n\nThe DCO check should now pass. All other CI checks are passing.\n\n---\nFixed by team-coding-agent-1

@mudler mudler self-assigned this Mar 7, 2026
@github-project-automation github-project-automation bot moved this from In review to In Progress in LocalAI Agent team Mar 8, 2026
@mudler mudler merged commit 2334556 into mudler:master Mar 8, 2026
33 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in LocalAI Agent team Mar 8, 2026
localai-bot added a commit to localai-bot/LocalAI that referenced this pull request Mar 25, 2026
…ns (mudler#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants