Skip to content

ui: show vision as glasses and audio as headphones - #32617

Merged
allozaur merged 1 commit into
ggml-org:masterfrom
allozaur:allozaur/feat/ui-modality-icons
Nov 20, 2026
Merged

allozaur merged 1 commit into
ggml-org:masterfrom
allozaur:allozaur/feat/ui-modality-icons

Conversation

@allozaur

@allozaur allozaur commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Overview

A model's vision is shown with glasses and its audio with headphones, the same motifs the Llama apps for Mac and Windows use, wherever Llama Chat marks what a model takes.

Screenshots

Before and after, from the modality badges, ModelCapabilityIcons and model card stories.

Before and after, light

Dark

Before and after, dark

Additional information

What changed
  • MODALITY_ICONS in @ggml-org/llama-ui/models: vision is Lucide's glasses (was eye), audio is headphones (was mic). Video keeps its icon. This covers the model selector, the Models Manager and its filters, Discover and the modality badges.
  • The attach menu (dropdown and phone drawer) listed what the current model takes with its own icons, a microphone and a picture. It now reads MODALITY_ICONS, so the two cannot drift apart.
  • The record button keeps the microphone and file types keep their own icons: those are actions and files, not model modalities.
Testing
  • ui/apps/chat: npm run check (0 errors), ESLint on the changed files, the 275 client tests and the 167 Storybook tests pass.
  • ui/lib/ui: npm test passes (49 files, 63 tests).
  • Looked at the ModelCapabilityIcons story from a static Storybook build in light, dark and Matte.

Requirements

The model modality icons match the ones the Llama apps use: glasses for
vision, headphones for audio. The attach menu's list of what the model
takes reads the same icons instead of its own microphone and picture.

Assisted-by: Claude (Opus 5.5 Medium)
@allozaur
allozaur force-pushed the allozaur/feat/ui-modality-icons branch from 4ed06a8 to eac1609 Compare November 20, 2026 09:18
@allozaur
allozaur marked this pull request as ready for review November 20, 2026 09:30
@allozaur
allozaur requested a review from a team as a code owner November 20, 2026 09:30
@allozaur
allozaur merged commit 9d6f04f into ggml-org:master Nov 20, 2026
8 checks passed
Kidplayer666 pushed a commit to Kidplayer666/llama.cpp that referenced this pull request Nov 20, 2026
The model modality icons match the ones the Llama apps use: glasses for
vision, headphones for audio. The attach menu's list of what the model
takes reads the same icons instead of its own microphone and picture.

Assisted-by: Claude (Opus 5.5 Medium)
Annieren pushed a commit to Annieren/llama.cpp-upstream that referenced this pull request Nov 23, 2026
The model modality icons match the ones the Llama apps use: glasses for
vision, headphones for audio. The attach menu's list of what the model
takes reads the same icons instead of its own microphone and picture.

Assisted-by: Claude (Opus 5.5 Medium)
Nindaleth pushed a commit to Nindaleth/llama.cpp that referenced this pull request Nov 26, 2026
The model modality icons match the ones the Llama apps use: glasses for
vision, headphones for audio. The attach menu's list of what the model
takes reads the same icons instead of its own microphone and picture.

Assisted-by: Claude (Opus 5.5 Medium)
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.

2 participants