Skip to content

[DOCS] Model picker filters to chat-capable models; gateway.exclude_models is now an empty opt-in default #606

Closed

Description

Summary

The CLI changed public-facing model-selection behavior (inference-gateway/cli PR 1132, resolving issue 1127):

  1. The model picker now lists only chat-capable models: HTTPModelService.ListModels filters on the gateway-reported modalities (a model must accept text input and produce text output). Speech-to-text, text-to-speech, image-generation, and video models no longer appear; models with absent or empty modalities stay visible.
  2. The gateway.exclude_models default is now an empty list. The four groq speech/TTS entries were subsumed by the client-side modality filter; the four ollama_cloud large-model entries are a per-user exclusion knob, not a shipped default. The key remains fully supported.

The CLI repo's own docs/configuration-reference.md was updated in the PR (default config example plus the gateway.exclude_models option description). This ticket tracks mirroring/maturing that documentation in the docs hub.

Reference

Acceptance Criteria

  • Docs pages that mention gateway.exclude_models state that the default is an empty list and the knob is opt-in.
  • Docs mention that the model picker shows only chat-capable models (text input and text output per the gateway-reported modalities) and that models with unknown modalities are kept visible.
  • No page still implies a shipped default blocklist of large chat models (e.g. ollama_cloud 671b/1t entries).

Activity

  1. added
    documentation
    on Aug 30, 2026
  2. added theissue type on Aug 31, 2026
  3. moved this to Todo in 2026on Aug 31, 2026
  4. edenreich commented on Aug 31, 2026

    @edenreich
    Contributor

    @infer Can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Aug 31, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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

    Todos

    • Add issue 606 to Roadmap board, set In progress
    • Create and push fix/issue-606 branch
    • Locate all docs mentions of gateway.exclude_models and model picker
    • Update cli.md picker section + gateway config bullet per merged CLI behavior
    • Run lint:md, format:check, build
    • Commit, push, open draft PR, set board QA, mark ready

    Pull Request

    #611

    ✅ Infer Result: Success

    Done. PR: #611 (ready for review, board moved In progress - QA)

    What changed - cli.md only, +5/-3 lines (mirrors cli PR 1132, resolves #606):

    • "Model picker labels" section: added a paragraph stating the picker lists only chat-capable models - a model appears only if the gateway reports modalities for it and they are text in, text out; speech-to-text, text-to-speech, image-generation and embedding models are hidden with no config, and models reported with "modalities": null are treated as not chat-capable and hidden.
    • Replaced the stale "older gateways are treated permissively, no filtering is applied" note: on a gateway that reports no modalities no model passes the filter, so the picker comes up empty - upgrade to gateway v0.47+. Shipped-in note now cites cli#1031 and cli#1132.
    • "Key Configuration Areas": the "Model filtering" bullet now names gateway.include_models/gateway.exclude_models, states both default to [], marks exclude_models as opt-in (the picker already hides non-chat models, no shipped default blocklist) and that it feeds the gateway's DISALLOWED_MODELS.

    One discrepancy worth a reviewer's eye: the issue body said models with unknown modalities stay visible, but the merged CLI code (IsChatCapableModalities + if model.Modalities == nil { continue }) and the CLI's own configuration reference hide them. I documented the merged behavior and flagged the discrepancy in the PR body; the acceptance criterion's "kept visible" wording is stale relative to PR 1132.

    Validation: format:check, lint:md, build all pass; tree clean, PR ready for review. No downstream repos affected - this change is the docs-mirroring itself.

    Model: ollama_cloud/glm-5.3-flash · Exit Code: 0 · Duration: 4m 44s

    Tokens: 1,742,375 in · 17,983 out · 1,760,358 total (29 requests)

    Tool calls: 35 total · 100% success rate

    Traces
    Session: 1788176258-c4e560af
    
    session (headless, success)                                                  4m37s
    ├── chat ollama_cloud/glm-5.3-flash                                           3.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.5s [error: *errors.errorString]
    ├── execute_tool Read call_i2nfcb6c                                          173µs
    ├── execute_tool Bash call_l32xd4s4                                          935ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.3s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.3s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_2lvkarvu                                      60µs
    ├── chat ollama_cloud/glm-5.3-flash                                           5.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         5.6s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     5.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.6s [error: *errors.errorString]
    ├── execute_tool Bash call_ggtmgfso                                          358ms
    ├── chat ollama_cloud/glm-5.3-flash                                           9.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         9.9s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     9.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               9.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             9.9s [error: *errors.errorString]
    ├── execute_tool Bash call_tdee6ucn                                           1.3s
    ├── 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_kdhhykcm                                          735ms
    ├── chat ollama_cloud/glm-5.3-flash                                           1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.6s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.6s [error: *errors.errorString]
    ├── execute_tool Bash call_oony2ucv                                           52ms
    ├── chat ollama_cloud/glm-5.3-flash                                           1.4s
    │   ╰── 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 Grep call_151vacor                                           1.2s
    ├── execute_tool Bash call_rwjoiocq                                           1.8s
    ├── chat ollama_cloud/glm-5.3-flash                                           2.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.6s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     2.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               2.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             2.6s [error: *errors.errorString]
    ├── execute_tool Grep call_kxcantrk                                           2.9s
    ├── execute_tool Grep call_74pphyx5                                           3.2s
    ├── chat ollama_cloud/glm-5.3-flash                                           9.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         9.2s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     9.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               9.2s
    │               ╰── POST /v1/chat/completions [inference-gateway]             9.2s [error: *errors.errorString]
    ├── execute_tool Read call_vw865igi                                          181µs
    ├── execute_tool Read call_3uw2doz1                                          218µs
    ├── chat ollama_cloud/glm-5.3-flash                                           4.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.7s [error: *errors.errorString]
    ├── execute_tool Bash call_8ypv6q36                                          832ms
    ├── chat ollama_cloud/glm-5.3-flash                                          12.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        12.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    12.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              12.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]            12.1s [error: *errors.errorString]
    ├── execute_tool Bash call_kvywn68r                                          315ms
    ├── chat ollama_cloud/glm-5.3-flash                                          50.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        50.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    50.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              50.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]            50.4s [error: *errors.errorString]
    ├── execute_tool Grep call_nauty7oe                                           2.7s
    ├── execute_tool Bash call_mgxgxyed                                           1.1s
    ├── chat ollama_cloud/glm-5.3-flash                                          53.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        53.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    53.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              53.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]            53.4s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_htnccwml                                      50µs
    ├── chat ollama_cloud/glm-5.3-flash                                           7.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         7.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     7.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               7.8s
    │               ╰── POST /v1/chat/completions [inference-gateway]             7.8s [error: *errors.errorString]
    ├── execute_tool MultiEdit call_ns4gj51v                                     769µs
    ├── chat ollama_cloud/glm-5.3-flash                                           4.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.9s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.9s [error: *errors.errorString]
    ├── execute_tool Bash call_cmo2yvct                                           4.5s
    ├── chat ollama_cloud/glm-5.3-flash                                           2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     2.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               2.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]             2.1s [error: *errors.errorString]
    ├── execute_tool Bash call_o43bv81b                                           1.5s
    ├── 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 Bash call_hqteg4j8                                          21.4s
    ├── chat ollama_cloud/glm-5.3-flash                                           2.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     2.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               2.8s
    │               ╰── POST /v1/chat/completions [inference-gateway]             2.8s [error: *errors.errorString]
    ├── execute_tool Bash call_2odyj84k                                            6ms
    ├── chat ollama_cloud/glm-5.3-flash                                           2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.1s
    │       ╰── 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 Bash call_xv1c17eg                                            5ms
    ├── chat ollama_cloud/glm-5.3-flash                                           2.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     2.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               2.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             2.7s [error: *errors.errorString]
    ├── execute_tool Bash call_uvttllgw                                            8ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.8s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.8s [error: *errors.errorString]
    ├── execute_tool Bash call_k1lha1iu                                            7ms
    ├── chat ollama_cloud/glm-5.3-flash                                           6.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         6.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     6.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               6.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             6.7s [error: *errors.errorString]
    ├── execute_tool Write call_9g639ou0                                           1ms
    ├── execute_tool Bash call_qzdou4cu                                           1.6s
    ├── chat ollama_cloud/glm-5.3-flash                                           2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.1s
    │       ╰── 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 Bash call_9lhhr7x6                                           2.6s
    ├── chat ollama_cloud/glm-5.3-flash                                           4.5s
    │   ╰── 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_9c2t89vj                                          587ms
    ├── chat ollama_cloud/glm-5.3-flash                                           1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.6s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.6s [error: *errors.errorString]
    ├── execute_tool Bash call_p40qj31x                                           1.0s
    ├── chat ollama_cloud/glm-5.3-flash                                           3.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.1s [error: *errors.errorString]
    ├── execute_tool Bash call_0wfb8aw6                                            5ms
    ├── chat ollama_cloud/glm-5.3-flash                                           6.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         6.6s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     6.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               6.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             6.6s [error: *errors.errorString]
    ├── execute_tool Memory call_y7hnwae9                                         1.3s
    ├── execute_tool Bash call_ra9vuhjo                                          355ms
    ├── chat ollama_cloud/glm-5.3-flash                                           7.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         7.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     7.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               7.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             7.4s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_ktpc4idj                                      52µs
    ╰── chat ollama_cloud/glm-5.3-flash                                           5.6s
        ╰── 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]
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 22    │ 0%    │ 1866ms │
    │ Grep      │ 4     │ 0%    │ 2489ms │
    │ Read      │ 3     │ 0%    │ 0ms    │
    │ TodoWrite │ 3     │ 0%    │ 0ms    │
    │ MultiEdit │ 1     │ 0%    │ 0ms    │
    │ Write     │ 1     │ 0%    │ 1ms    │
    │ Memory    │ 1     │ 0%    │ 1342ms │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────┬─────────┬────────┬────────────┬─────────┬──────╮
    │ Model                      │ Prompt  │ Cached │ Completion │ Total   │ Cost │
    ├────────────────────────────┼─────────┼────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 1742375 │ 0      │ 17983      │ 1760358 │ -    │
    ╰────────────────────────────┴─────────┴────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

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