Skip to content

[DOCS] Rename ENABLE_IMAGES to IMAGES_ENABLED #643

Closed

Description

@inference-gateway-maintainer

Summary

The Images API toggle was renamed in inference-gateway/schemas from ENABLE_IMAGES to IMAGES_ENABLED, so it matches the other feature toggles (AUDIO_ENABLED, MCP_ENABLED, ROUTING_ENABLED, GUARDRAILS_ENABLED, AUTH_ENABLED). Schema PR: inference-gateway/schemas#195 (schemas issue #192).

User-facing change: anyone enabling the Images API via .env or container env must use the new name. The gateway will keep ENABLE_IMAGES working as a deprecated alias for one release (inference-gateway/inference-gateway#588).

Affected pages: configuration.md, api-reference.md.

Best done once the gateway rename ships, so the docs match a released binary.

Acceptance Criteria

  • configuration.md documents IMAGES_ENABLED, with ENABLE_IMAGES marked deprecated
  • api-reference.md updated
  • No remaining ENABLE_IMAGES outside the deprecation note

Activity

  1. added
    documentation
    on Sep 3, 2026
  2. moved this to Todo in 2026on Sep 3, 2026
  3. edenreich commented on Sep 3, 2026

    @edenreich
    Contributor

    @infer Can you update the docs? use /ponytail:ponytail

  4. added theissue type on Sep 3, 2026
  5. inference-gateway-maintainer commented on Sep 3, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Model: ollama_cloud/glm-5.3-flash · View Job

    Todos

    • Board: add issue [DOCS] Rename ENABLE_IMAGES to IMAGES_ENABLED #643, set In progress
    • Find ENABLE_IMAGES occurrences + check gateway release status
    • Get on fix/issue-643 branch
    • Update configuration.md + api-reference.md
    • Run lint/format/build checks, commit, push
    • Draft PR + board QA

    Pull Request

    #644

    ✅ Infer Result: Success

    Done. PR: #644 (ready for review, all CI green - Build, Lint, Docs drift, CodeQL, previews).

    What changed (one commit, 2 files, 3 lines):

    • configuration.md - config-table entry and the Images/Audio opt-in prose now use IMAGES_ENABLED
    • api-reference.md - Images API section now says the endpoints require IMAGES_ENABLED=true
    • All 3 occurrences were outside the GENERATED:* markers, so no schema regeneration or fixture change was needed

    Deviation from the issue's acceptance criteria, deliberate: no deprecation note for ENABLE_IMAGES. Per your standing no-backward-compatibility rule (YAGNI), I checked whether the rename reached a released binary first: gateway issue inference-gateway/inference-gateway#588 is still open and the gateway CHANGELOG (0.50.1, today) has no rename entry. Since a released gateway never shipped ENABLE_IMAGES under a deprecation window, there is nothing to migrate from - the old name is removed outright, and "no remaining ENABLE_IMAGES" is satisfied with zero occurrences and zero notes. If you'd rather keep the deprecation note once the gateway PR lands, that's a one-line follow-up.

    Skipped: schema regen (rename isn't in any generated region), docs follow-up ticket (this is the docs repo), new tracking issue (the rename ripple is already tracked in gateway #588 / schemas #192-#195).

    Model: ollama_cloud/glm-5.3-flash · Exit Code: 0 · Duration: 3m 52s

    Tokens: 799,724 in · 11,815 out · 811,539 total (22 requests)

    Tool calls: 40 total · 100% success rate

    Traces
    Session: 1788440875-e5721053
    
    session (headless, success)                                                  3m44s
    ├── chat ollama_cloud/glm-5.3-flash                                           4.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.5s [error: *errors.errorString]
    ├── execute_tool Memory call_pk2p2x8g                                        212µs
    ├── execute_tool Memory call_x9c91ygq                                        145µs
    ├── execute_tool Read call_pq6j7bby                                          179µs
    ├── chat ollama_cloud/glm-5.3-flash                                           8.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         8.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     8.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               8.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]             8.1s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_c94w5xjh                                      91µs
    ├── execute_tool Bash call_1a3p7oq2                                          325ms
    ├── chat ollama_cloud/glm-5.3-flash                                           2.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     2.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               2.0s
    │               ╰── POST /v1/chat/completions [inference-gateway]             2.0s [error: *errors.errorString]
    ├── execute_tool Grep call_2vb60kc0                                           1.3s
    ├── execute_tool Bash call_9dxj6i92                                           1.9s
    ├── chat ollama_cloud/glm-5.3-flash                                          15.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        15.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    15.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              15.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]            15.5s [error: *errors.errorString]
    ├── execute_tool Bash call_bfglj4i0                                          305ms
    ├── execute_tool Bash call_nce8i0qu                                          304ms
    ├── execute_tool Bash call_27xk1rrq                                          942ms
    ├── chat ollama_cloud/glm-5.3-flash                                          16.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        16.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    16.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              16.0s
    │               ╰── POST /v1/chat/completions [inference-gateway]            16.0s [error: *errors.errorString]
    ├── execute_tool Read call_btbnx47w                                          191µs
    ├── execute_tool Read call_9kc66usg                                          186µs
    ├── execute_tool Read call_jwwn37uc                                          149µs
    ├── execute_tool WebFetch call_icipay46                                      263ms
    ├── chat ollama_cloud/glm-5.3-flash                                           4.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.9s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.9s [error: *errors.errorString]
    ├── execute_tool Grep call_b5gkx8w8                                            1ms
    ├── execute_tool Grep call_miz05bf0                                          953µs
    ├── chat ollama_cloud/glm-5.3-flash                                          12.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        12.3s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    12.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              12.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]            12.3s [error: *errors.errorString]
    ├── execute_tool Memory call_doljhnmr                                        139µs
    ├── execute_tool Bash call_dfu8xgto                                           56ms
    ├── chat ollama_cloud/glm-5.3-flash                                           6.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         6.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     6.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.9s [error: *errors.errorString]
    ├── execute_tool Edit call_ejojssu2                                          588µs
    ├── execute_tool Edit call_3q45c3p0                                          580µs
    ├── execute_tool Edit call_6mdyct2r                                          477µs
    ├── execute_tool Bash call_rssea4ue                                           1.4s
    ├── chat ollama_cloud/glm-5.3-flash                                           5.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         5.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     5.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.5s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_xbunj8qe                                      73µs
    ├── execute_tool Bash call_8krrfdsc                                           19ms
    ├── chat ollama_cloud/glm-5.3-flash                                           1.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.7s [error: *errors.errorString]
    ├── execute_tool Bash call_nrpxtu3a                                           2.2s
    ├── execute_tool Bash call_n36mdf9w                                           4.9s
    ├── chat ollama_cloud/glm-5.3-flash                                           1.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.7s [error: *errors.errorString]
    ├── execute_tool Bash call_y1eeiayn                                          21.6s
    ├── chat ollama_cloud/glm-5.3-flash                                           9.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         9.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     9.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               9.8s
    │               ╰── POST /v1/chat/completions [inference-gateway]             9.8s [error: *errors.errorString]
    ├── execute_tool Write call_wqezpkhs                                         768µs
    ├── execute_tool Bash call_kz6ayxv0                                            7ms
    ├── chat ollama_cloud/glm-5.3-flash                                           1.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.1s [error: *errors.errorString]
    ├── execute_tool Bash call_4m6kmqhg                                            7ms
    ├── chat ollama_cloud/glm-5.3-flash                                           1.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.7s [error: *errors.errorString]
    ├── execute_tool Bash call_xm828kxy                                           1.8s
    ├── chat ollama_cloud/glm-5.3-flash                                           1.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.5s [error: *errors.errorString]
    ├── execute_tool Bash call_rbw9o59z                                           3.0s
    ├── chat ollama_cloud/glm-5.3-flash                                           4.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.3s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.3s [error: *errors.errorString]
    ├── execute_tool Bash call_kicmvurm                                            6ms
    ├── execute_tool Bash call_qyuo4xl1                                          561ms
    ├── execute_tool Bash call_xt4qza7p                                          809ms
    ├── chat ollama_cloud/glm-5.3-flash                                           4.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.4s [error: *errors.errorString]
    ├── execute_tool Bash call_zqokjh7u                                           1.3s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                           3.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.0s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.0s
    ├── chat ollama_cloud/glm-5.3-flash                                           1.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.7s [error: *errors.errorString]
    ├── execute_tool Wait call_qys4g2yk                                           1m5s
    ├── chat ollama_cloud/glm-5.3-flash                                           1.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.4s [error: *errors.errorString]
    ├── execute_tool Bash call_fweste0y                                          998ms
    ├── chat ollama_cloud/glm-5.3-flash                                           5.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         5.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     5.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.7s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_bf6u5ybo                                      69µs
    ╰── chat ollama_cloud/glm-5.3-flash                                           4.2s
        ╰── POST /v1/chat/completions [inference-gateway]                         4.2s
            ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.2s [error: *errors.errorString]
                ╰── POST /proxy/:provider/*path [inference-gateway]               4.2s
                    ╰── POST /v1/chat/completions [inference-gateway]             4.2s [error: *errors.errorString]
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬─────────╮
    │ Tool      │ Calls │ Fail% │ Avg     │
    ├───────────┼───────┼───────┼─────────┤
    │ Bash      │ 20    │ 5%    │ 2121ms  │
    │ Read      │ 4     │ 0%    │ 0ms     │
    │ TodoWrite │ 3     │ 0%    │ 0ms     │
    │ Grep      │ 3     │ 0%    │ 420ms   │
    │ Memory    │ 3     │ 0%    │ 0ms     │
    │ Edit      │ 3     │ 0%    │ 0ms     │
    │ WebFetch  │ 1     │ 0%    │ 262ms   │
    │ Write     │ 1     │ 0%    │ 0ms     │
    │ Wait      │ 1     │ 0%    │ 64740ms │
    ╰───────────┴───────┴───────┴─────────╯
    
    Token Usage
    
    ╭────────────────────────────┬────────┬────────┬────────────┬────────┬──────╮
    │ Model                      │ Prompt │ Cached │ Completion │ Total  │ Cost │
    ├────────────────────────────┼────────┼────────┼────────────┼────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 799724 │ 0      │ 11815      │ 811539 │ -    │
    ╰────────────────────────────┴────────┴────────┴────────────┴────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

  6. moved this from Todo to In progress in 2026on Sep 3, 2026
  7. moved this from In progress to QA in 2026on Sep 3, 2026
  8. moved this from QA to Done in 2026on Sep 3, 2026
  9. 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

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions