Skip to content

ui: read model modalities from the router model list - #26709

Merged
ServeurpersoCom merged 2 commits into
ggml-org:masterfrom
ServeurpersoCom:ui/model-modalities-from-router-list
Aug 7, 2026
Merged

ui: read model modalities from the router model list#26709
ServeurpersoCom merged 2 commits into
ggml-org:masterfrom
ServeurpersoCom:ui/model-modalities-from-router-list

Conversation

@ServeurpersoCom

@ServeurpersoCom ServeurpersoCom commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Overview

Pasting an image into the WebUI failed with a File Upload Error when the model had been opened from a "?model=" link, and only started working after sending a text message first. The UI waited for the model to be loaded before it knew whether it accepted images, while the router already advertises that for every model, loaded or not. It now reads it from there.

You can now open a vision model straight from a URL and attach an image right away.

Additional information

Fixes #26569

Requirements

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.
@ServeurpersoCom
ServeurpersoCom requested a review from a team as a code owner August 7, 2026 09:36
Comment thread tools/ui/src/lib/stores/models.svelte.ts Outdated
@ServeurpersoCom
ServeurpersoCom merged commit 82bb485 into ggml-org:master Aug 7, 2026
6 checks passed
miltos22 pushed a commit to miltos22/llama.cpp-wackMall-merge-request that referenced this pull request Aug 10, 2026
* 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
satindergrewal pushed a commit to satindergrewal/llama.cpp that referenced this pull request Aug 11, 2026
* 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
satindergrewal pushed a commit to satindergrewal/llama.cpp that referenced this pull request Aug 12, 2026
* 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
huaxel pushed a commit to huaxel/CachyLLama that referenced this pull request Aug 12, 2026
* 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
CowboyTim pushed a commit to aardbeiplantje/llama.cpp that referenced this pull request Aug 13, 2026
* 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
brittlewis12 pushed a commit to brittlewis12/llama.cpp that referenced this pull request Aug 17, 2026
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misc. bug: WebUI rejects image paste for a vision model opened via ?model=

3 participants