feat(cli): add configurable backend image fallback tags via CLI options#8818
Closed
localai-bot wants to merge 1 commit intomudler:masterfrom
Closed
feat(cli): add configurable backend image fallback tags via CLI options#8818localai-bot wants to merge 1 commit intomudler:masterfrom
localai-bot wants to merge 1 commit intomudler:masterfrom
Conversation
Add three new CLI options to configure backend image fallback tags: - --backend-images-release-tag: Release tag for backend images (default: latest) - --backend-images-branch-tag: Branch tag for backend images (default: master) - --backend-dev-suffix: Development suffix for backend images (default: development) These options allow users to customize the fallback tag patterns used when downloading backend images from galleries. The values are also available via environment variables: - LOCALAI_BACKEND_IMAGES_RELEASE_TAG - LOCALAI_BACKEND_IMAGES_BRANCH_TAG - LOCALAI_BACKEND_DEV_SUFFIX The existing fallback logic in core/gallery/backends.go already supports these environment variables, so this change just exposes them as CLI options.
✅ Deploy Preview for localai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds CLI options to configure backend image fallback tags for LocalAI.
Changes
Purpose
These options allow users to customize the fallback tag patterns used when downloading backend images from galleries. The fallback logic was already present in using environment variables, but was not exposed via CLI.
Default Values
latestmasterdevelopmentUsage Example
Related
This recreates the functionality from PR #8674 which was closed to allow re-creation from a clean state.