You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] ENABLE_VISION described as rejecting image inputs when disabled #650
The gateway docs describe ENABLE_VISION incorrectly. The wording says that when ENABLE_VISION is off, requests carrying image content are rejected. The gateway does not do that.
In api/routes.go (ChatCompletionsHandler) all image handling sits inside if router.cfg.EnableVision. With the flag off, that block is skipped and image content parts are forwarded to the upstream provider untouched - nothing returns an error. With the flag on, the handler checks core.ModelAcceptsImages and silently strips image parts for models it does not recognize as vision-capable, continuing with text only; that stripping behavior was never documented.
The gateway repo has been corrected in inference-gateway/inference-gateway#596 (README.md, openapi.yaml x-config, regenerated Configurations.md and config/config.go). Any page on the docs site carrying the same claim needs the same fix.
Affected pages: wherever ENABLE_VISION, vision, or multimodal support is described (configuration reference and any vision/multimodal guide).
Corrected wording: when ENABLE_VISION is false (the default) the gateway does not inspect image content and forwards it to the provider untouched; when true, image parts are stripped for models not recognized as vision-capable and passed through for models that are.
Acceptance Criteria
No docs page states that image inputs are rejected when ENABLE_VISION is disabled
Pull canonical wording from upstream openapi.yaml x-config
configuration.md - table row + prose
supported-providers.md - vision note
api-reference.md - vision section intro + note
troubleshooting.md - rewrote the "Image input is rejected" section
Validate (lint:md, format:check, build) - all pass
Commit + PR + board moved to QA
What changed
Four pages carried the "images are rejected when the flag is off" claim. All now describe the real behavior:
Page
Change
configuration.md
ENABLE_VISION row now uses the canonical generated description from #596; prose below the table rewritten (off = forwarded untouched, on = stripped for models not recognized as vision-capable)
supported-providers.md
Vision note no longer says requests are rejected
api-reference.md
Section intro and closing note corrected
troubleshooting.md
"Image input is rejected" replaced with "The model answers as if it never saw the image" - the symptom users actually hit, since a stripped image returns 200. Also fixed the config-vars entry that said the gateway "continues to reject images"
All edits sit outside the GENERATED:* regions, so no task generate run was needed.
examples.md only instructs users to set the flag and makes no incorrect claim, so it was left alone.
| Branch
Activity
edenreich commentedon Sep 3, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 3, 2026
Claude finished @edenreich's task in 2m 2s —— View job •
docs/issue-650-20260903-1756• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-650-20260903-1756?quick_pull=1&title=Issue%20%23650%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23650%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)ENABLE_VISION docs corrected
PR: #652
openapi.yamlx-configconfiguration.md- table row + prosesupported-providers.md- vision noteapi-reference.md- vision section intro + notetroubleshooting.md- rewrote the "Image input is rejected" sectionlint:md,format:check,build) - all passWhat changed
Four pages carried the "images are rejected when the flag is off" claim. All now describe the real behavior:
configuration.mdENABLE_VISIONrow now uses the canonical generated description from #596; prose below the table rewritten (off = forwarded untouched, on = stripped for models not recognized as vision-capable)supported-providers.mdapi-reference.mdtroubleshooting.mdAll edits sit outside the
GENERATED:*regions, so notask generaterun was needed.examples.mdonly instructs users to set the flag and makes no incorrect claim, so it was left alone.| Branch
inference-gateway-releaser commentedon Sep 22, 2026
🎉 This issue has been resolved in version 0.9.14 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀