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] Model picker filters to chat-capable models; gateway.exclude_models is now an empty opt-in default #606
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.
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.
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).
"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.
Activity
edenreich commentedon Aug 31, 2026
@infer Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 31, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#611
✅ Infer Result: Success
Done. PR: #611 (ready for review, board moved In progress - QA)
What changed -
cli.mdonly, +5/-3 lines (mirrors cli PR 1132, resolves #606):"modalities": nullare treated as not chat-capable and hidden.gateway.include_models/gateway.exclude_models, states both default to[], marksexclude_modelsas opt-in (the picker already hides non-chat models, no shipped default blocklist) and that it feeds the gateway'sDISALLOWED_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,buildall 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 44sTokens: 1,742,375 in · 17,983 out · 1,760,358 total (29 requests)
Tool calls: 35 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
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 📦🚀