]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ui: read model modalities from the router model list (#26709)
authorPascal <redacted>
Fri, 7 Aug 2026 10:07:58 +0000 (12:07 +0200)
committerGitHub <redacted>
Fri, 7 Aug 2026 10:07:58 +0000 (12:07 +0200)
commit82bb48500a9a6b3374da2cf5811695369278e4d3
treed1484efad19f45f1a186cd79a90157319591b726
parent42e98813e4aba923453d84433c12cfdd29f07a47
ui: read model modalities from the router model list (#26709)

* ui: read model modalities from the router model list

The router advertises input modalities for every model, loaded or not.
Reading them at list build time lets the UI accept image and audio
uploads for a model selected through ?model=, which has no /props yet.

* enum
tools/ui/src/lib/stores/models.svelte.ts
tools/ui/src/lib/types/api.d.ts