Skip to content

[DOCS] Correct inverted VISION_ENABLED description after schemas sync #666

Closed

Description

Summary

The VISION_ENABLED description in openapi.yaml (schemas repo) stated the inverted default: it claimed image content is stripped for models not known to accept images. The gateway is permissive - ModelAcceptsImages returns true for models absent from the community modalities table, so images are stripped only for models the table lists as accepting non-image input only.

Corrected wording (merging in inference-gateway/schemas#202):

Enable vision/multimodal handling for all providers. When enabled, image content is stripped from requests to models known to accept only non-image input; unknown models are passed through. When disabled, image content is forwarded to the provider untouched

Affected pages: any page rendering the configuration table / env var reference that carries the VISION_ENABLED description (generated from the synced openapi.yaml).

Related: inference-gateway/schemas#201, inference-gateway/inference-gateway#653, inference-gateway/inference-gateway#656.

Acceptance Criteria

  • openapi.yaml sync from schemas picks up the corrected VISION_ENABLED description
  • Configuration reference pages show the corrected wording
  • No remaining copies of the inverted wording in the docs site

Activity

  1. added
    documentation
    on Sep 11, 2026
  2. edenreich commented on Sep 11, 2026

    @edenreich
    Contributor

    @claude Can you document this? use /ponytail:ponytail

  3. inference-gateway-maintainer commented on Sep 11, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 1m 43s —— View job • docs/issue-666-20260911-1744 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-666-20260911-1744?quick_pull=1&title=Issue%20%23666%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23666%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Corrected inverted VISION_ENABLED wording

    • Gather context (generated blocks, generator scripts)
    • Confirm corrected description is live in schemas openapi.yaml
    • Fix every copy of the inverted wording
    • Validate (bun test, lint:md, format:check, build)
    • Commit + open PR

    PR: #667

    The VISION_ENABLED description lives in a hand-maintained <script setup> block in configuration.md (line 11), not inside a GENERATED:* section - those start at line 65 and only cover provider settings. So there was nothing to regenerate; the fix is a plain content edit, and bun test still passes byte-for-byte against the fixtures.

    Four pages carried the inverted claim:

    • configuration.md - the VISION_ENABLED table row + the prose paragraph under General Settings
    • supported-providers.md - vision/multimodal note
    • api-reference.md - vision request note
    • troubleshooting.md - "image ignored" likely-cause entry

    All now state that images are stripped only for models known to accept non-image input only, with unknown models passed through. grep confirms no remaining copies of the old wording outside CHANGELOG.md (historical, left alone).

    Checks: bun run format:check, bun run lint:md, bun test (11 pass), bun run build - all green.
    | Branch

  4. moved this from In progress to QA in 2026on Sep 11, 2026
  5. moved this from QA to Done in 2026on Sep 11, 2026
  6. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions