Repository navigation
fix(gateway): emit images_enabled instead of enable_images - #1171
Merged
Merged
Conversation
follows the schemas rename (inference-gateway/schemas#195) to the feature_enabled toggle order. the gateway keeps the old name as a deprecated alias for one release (#588, not yet shipped), so older gateway images predate the rename and silently ignore the new toggle - noted at both emission sites; examples updated to match.
This was referenced Sep 3, 2026
Closed
inference-gateway-maintainer
Bot
marked this pull request as ready for review
September 3, 2026 13:35
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
September 3, 2026 13:35
edenreich
reviewed
Sep 3, 2026
edenreich
reviewed
Sep 3, 2026
Contributor
|
🎉 This PR is included in version 0.189.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Resolves #1170
Summary
Renames the Images API toggle the CLI emits from
ENABLE_IMAGEStoIMAGES_ENABLED, following the schemas rename (inference-gateway/schemas#195) that aligns it with the other<FEATURE>_ENABLEDtoggles. The gateway keeps the old name as a deprecated alias for one release (inference-gateway/inference-gateway#588, not yet shipped at the time of this change), so the minimum gateway version is documented at both emission sites instead of the CLI carrying a compat shim - it emits only the new name.Changes
internal/gateway/manager.go:runContainernow passesIMAGES_ENABLED=trueviadocker -e,runBinarynow setsIMAGES_ENABLED=truein the child env (both gated on image generation/edit/variation tools being enabled)examples/telegram-channel/docker-compose.yml:IMAGES_ENABLED: trueexamples/telegram-channel/README.md: updated the env var referenceNotes
:latest, so this only affects users pinning an older gateway tag with image tools enabled