Commit Graph
1 Commits
Author SHA1 Message Date
lukaszraczylo a5758a6674 feat(models): advertise and discover model vision capability
GET /v1/models now carries a known vision flag in two forms:
architecture.input_modalities for OpenRouter-style clients and other
gateways, and info.meta.capabilities.vision for Open WebUI. An unknown
flag adds no field.

Discovery through metadataPath reads the same two forms from the
upstream. Thus a flag set in modelMeta on one gateway reaches the next
gateway and Open WebUI. A field in another shape is ignored and does not
fail the fetch.

The flag resolves from the alias modelMeta entry, then the target
modelMeta entry, then discovery. The smart router uses the resolved
flag. An unknown flag still counts as capable.
2026-12-02 01:44:07 +00:00