llama.cpp
0c8a9726 - ui: one model list with folded quants, dictation from its microphone, and the model beside the chat form (#33753)

Commit
21 hours ago
ui: one model list with folded quants, dictation from its microphone, and the model beside the chat form (#33753) * ui: even spacing and a floating search in the phone model picker The picker's boxes, the reasoning row and the search keep one 16px gap, which is also the search's gap from the sheet's foot. The search floats over the list with no fill behind it, so models scroll under it, and the reasoning row stays off the All models page. Assisted-by: Claude (Opus 5.5 Medium) * ui: a quieter model selector Just the model's name in a clear xs ghost button, at 13px, without the box icon or chevron; a ggml-org model leaves its org out there while the list keeps the full ids. Assisted-by: Claude (Opus 5.5 Medium) * ui: the model and its context gauge under the chat form Both sit on the right of the row under the form. The gauge shows once the model is loaded, empty on a new chat, and its spinner while it loads, counting loads the server reports; its popover says so. Assisted-by: Claude (Opus 5.5 Medium) * ui: the selected model shows its quantization, and no tooltip flash after a pick Assisted-by: Claude (Opus 5.5 Medium) * ui: the microphone offers a model that can take dictation While no model takes a recording but one could, hovering the microphone opens a card naming it, a speech-to-text model first, with a button that makes it the transcription model. Assisted-by: Claude (Opus 5.5 Medium) * ui: a secondary model selector beside messages, roomier small text The model selector takes its trigger's look: clear under the chat form, a secondary button under an assistant message. The row under the chat form gets tighter spacing, and the reasoning value and option captions 13px. Assisted-by: Claude (Opus 5.5 Medium) * ui: a new chat no longer scrolls The row under the lifted form overflowed from the sticky form's resting place at the bottom; the chat screen clips it while the form is lifted. Assisted-by: Claude (Opus 5.5 Medium) * ui: the working folder chip opens its own picker From the chip, the + menu or a phone chat's header the folder picker opens beside the chip with a search field of its own, and the message is left alone; typing /cwd still edits the path inline, now without the hint. Assisted-by: Claude (Opus 5.5 Medium) * ui: the selected model shows its draft Assisted-by: Claude (Opus 5.5 Medium) * ui: no Stop in system message mode The Stop button belongs to the chat's reply; while a system message is written the form shows its own send instead. Assisted-by: Claude (Opus 5.5 Medium) * ui: a quieter folder picker for /cwd The /cwd picker opens once a character follows the command, and where it searched shows only beside the results it found. Assisted-by: Claude (Opus 5.5 Medium) * ui: the folder picker fills the chat form, the gauge opens below The folder picker anchors to the chat form's card as the tools panel does, so it is as wide as the form and drops under it, above it where there is no room. Before, it hung from the chip that opened it, and from the caret line when the path was typed with /cwd - three anchors for one panel, none of them the form. The context gauge follows the model and permission menus: below its dial on a new chat, above it where the form sits at the screen's bottom. The dial ends the chip row, so the panel hangs from the dial's right edge rather than centring under it. * ui: a wider gap in small controls, no padding above their lists * ui: the model rows and the reasoning row share one corner and padding The reasoning row took a menu item's padding (8px at the sides, 6px above and below) and sat in a wider group than the list above it, so it read as both narrower and shorter than every model row. It now takes the rows' padding and the list's inset, and the rows take the menu item's corner. The manage-models row, in the same foot, follows. CollapsibleSection took triggerClass but applied it only outside a menu, where the trigger is the item itself rather than a button it wraps. * ui: the context gauge fills blue until the context runs short * ui: a badge at the end of a model trigger sits even in the button The chips a model id ends with are 16px in the 24px trigger, which leaves them 4px above and below; the button's own 8px made the right edge look wrong. Pull the content in by that 4px, as a rule every trigger takes rather than one more class written out where a model happens to be named: the desktop dropdown under the chat form and beside an assistant message, the phone's button, and the lone model's own. * ui: the search dialog caps a category at four until you ask for it Every category showed its full list at once, so a single match in the last one sat under pages of the first. Each now keeps its top four beside the others, and its own Show more leaves that category alone with everything it found; an All results row at the top steps back. The keyboard follows what is on screen, so Esc steps back through the same stages a click does, and typing or closing forgets the choice. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the model button names the model, and the badges become a setting The trigger under the chat form carried the quant and draft chips beside the name, which is where a long name has least room. It now names the model alone, and a new setting gives the chips back to those who want them; either way the list keeps them, where there is room. The global quantization setting still governs the quant chip. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the voice role badge stays with the badges it belongs to The role badge stood beside the row's name in the picker's list, so a model with a wide name pushed it down to the actions at the row's end, where it read as one of them. It now rides inside the name's own group, as the phone's sheet already had it. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the dictation model hangs under the conversation's model, on a branch A loaded model kept only for transcribing had its own heading in the loaded section, which said what it is not rather than whose microphone it is. It now hangs off the conversation's own row behind a branch stroke, next to the model it serves, and choosing it stops to ask: that model transcribes instead of chatting, so the switch makes it the conversation's model and its voice model both. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the microphone links a model to dictation, and unlinks it for a nod The row's microphone only moved a setting, so linking a model that was not loaded left the microphone with nothing to transcribe with, and unlinking one left a model loaded for the microphone alone taking memory the conversation could use. Linking a model now loads it when the conversation's own model cannot hear, and unlinking one gives that memory back, which the row and the phone's menu both ask about first. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: a linked model shows the crossed microphone only under the pointer The row of the model chosen for dictation carried the crossed microphone all along, which read as a state the model was in rather than a press waiting to happen. It now keeps its lit microphone and changes to the crossed one under the pointer, as a favorite's heart does; on touch, where nothing hovers, the crossed one stays. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: a model row answers a right click, and gives up its info icon The selector's row carried three icons, and the one for the model's details read as a state the model was in rather than a way in. The row now answers a right click with its actions in words - load, unload or cancel a load, the favorite, and the dictation its microphone links or unlinks, confirmation and all - with Manage model last behind a divider. It is the menu the Models manager's rows already answer with, from the same parts; a phone keeps its held-row menu, where there is no right click. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the dictation menu item is one short verb beside the other The row's menu had been carrying the microphone's tooltip as its label, a whole sentence where a menu wants a verb: it now reads Unlink from dictation where it reads Use for dictation for a model that is not linked, and Keep for dictation on the one Automatic picked. The phone's held-row menu asks the store for the same words, so the two can no longer drift; what unlinking frees is the confirmation's business, and that is where the model is actually being unloaded. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the gauge's numbers keep their ink, and its summary keeps the speed The popover had been painting the percentage blue whenever the window was simply being used, so a perfectly ordinary 20% arrived tinted like a warning that never came. Those numbers now wear the panel's own ink and take the warning and danger colours at the thresholds the bar already crosses; the bar itself stays blue, since filling up is all it is doing. The speed the conversation has averaged so far moves up from the token details to that same summary line, beside the window that spent it, and the popover and the phone's drawer read it from the one snippet. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the gauge names its phases prefill and decode, and stops stacking its padding Prompt evaluation and token generation were the same two phases of one inference described in two vocabularies, the gauge panel in one and the message badges in the other. Both now say prefill for the prompt and decode for the answer, which is what the timings and the speeds beside them have always measured; the settings that name a server's evaluation batch keep their own name, being the server's. The popover is wider, since its summary line carries the average speed on it now, and the shell's padding no longer stacks on the panel's: the shell keeps a small one and the panel adds nothing of its own, as the form's other panels do. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: what the turn cost first, tk/s once, and edges that agree with what they hold An assistant's statistics now lead with the task's total time and let the inference numbers follow it: what the turn cost, then what it spent. That unit is tk/s everywhere, read from the one constant the badges and the gauge already share, instead of t/s and tokens/s spelled out beside it. The model selector's trigger had been pulling its content 4px in for every model, when the pull exists only to bring its trailing chips closer: a name with no chips was left with less room on the right than on the left. The badge group now names itself with a slot, and the trigger pulls only where that group is rendered. A model whose whole part is listening is marked ahead of its name, as the icon alone between its avatar and its name, rather than as a pill competing with the quant and draft chips behind it. Under a message the action icons are a size down, a little further apart now that they carry no fill to separate them, and quiet until the pointer arrives; the statistics no longer add padding of their own, so the row's gap is the only space between them and the model's name beside them. The gauge's window line holds its label and used over available and nothing else — the run's average decode speed went back to the foot of the details, where a summary of the whole run belongs — and its popover is wider with a single padding rather than two stacked. The sidebar finally rounds concentric with the footer group inset in it: 1rem plus the 0.5rem between their edges. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: a family of one gets no heading, and its model dresses for the missing one The dropdown folded a model under a family heading even when no other model shared that family, so the heading only said the row's own name back at it. A family of one is now the plain row it always was, and the row dresses for the heading that is not there: it wears the base org's avatar, which the heading would have carried, and drops the org name, a lone model having nothing to be told apart from. The organization-name setting becomes "Always show organization names" — on, every id keeps its org; off, the org shows where it still does work, among models sharing a heading — and the selector's button, naming a single model, follows it too. Every row carries the model's full raw name as its tooltip now, with a load's progress in front of it while one runs. The foot of the gauge gains the average prefill speed beside the decode one, each measured over the whole run rather than one turn; a prompt is read far faster than an answer is written, so a speed at or above a hundred is printed without its decimal. The dictation microphone leads the row it belongs to, ahead of that row's avatar, and its action is revealed with the others, shows the crossed version only to the pointer aimed at it, and wears the same ink as every other action. The sidebar keeps the corner it had; the footer surface inset in it rounds to the difference between them. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: the row's pointer is what crosses the microphone The crossed microphone waits for the row's pointer rather than the pointer aimed at the icon itself. The action is revealed with the rest as the row is read, and a press hands the microphone back from that same moment — making the icon its own hover target only puts a smaller question between reading the row and seeing what a press would undo. The crossed state still belongs to the model that transcribes this conversation's dictation, and to no other. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: keep the chat's chips out while its system message is written Writing the message was already enough of a change of subject to hide the model selector; the folder, the approvals, the model and the context gauge stayed underneath as a row of things the message is not about. The whole row under the card now steps out, so the form holds one thought. It returns when the message is saved or left. * ui: let the row's badge speak for the model that transcribes The model transcribing dictation led its row with a red microphone and followed its name with a voice badge, saying the same thing twice around the name. The badge is the one that describes the model rather than this conversation, so it stays; the microphone is left among the row's actions, where it is the press that links or unlinks and where the row's pointer already shows what that press would undo. The label the mark alone used goes with it. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: let the heart belong to the model, not to one of its quants Favoriting was recorded against a file, so a model with three quants could be favorited on one of them and appear split in three: that quant in Favorites, a loaded sibling in Loaded, the rest among the other models. The heart says something about the model, so it is stored per model - the repo a quant id belongs to - and every file of a favorited model is a favorite with it, in the selector and in the manager alike. Ids saved by earlier versions are read through their repo, so they carry over, and two quants of one model favorited once collapse back to the one favorite they always meant. The manager no longer breaks a favorited quant out of its repo as a flat row: the family travels to the favorites block whole, which is the same rule the selector's sections need before quants can be listed as subitems. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: place a model's quants in one section of the selector The sections asked after each file on its own, so a model with two quants could be torn in two: the running one under Loaded, the favorited one under Favorites, the rest among the other models - three rows for one model, three times to learn where it lives. A section now takes a model with all the quants it has, whichever of them earned the place, and lists the family once. The families come from one grouping pass over the filtered list, which is also where the rows will hang their quants from. Only the files actually running count as loaded for a phone's short list, so a sibling that merely travelled along is not ranked as if it were up. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: let a row pick which actions and which quant it shows Nothing changes on screen: two props arrive for the rows that are coming. A model's row will hold the heart and a quant's row the microphone, since one is the model's and the other links one model to the conversation's dictation, so ModelRowActions can now leave either out. And a quant's row lists the drafts beside it without the model's name above them, where the draft's own quant is what tells two of them apart, so ModelDraftSidecars can write that quant into the badge as well as in its title. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: hang a model's files under the line that names it A model with several quants took one row each, so the list repeated the name where it should have varied the quant, and said nothing about the family the files belong to. Such a model is now one line - avatar, name, the voice badge, the heart and a dot that is lit when any of its files is up - with its files hanging under it: each joined by a rail down the gutter the avatar sits above, wearing its quant, the drafts that came with it and its own load state. A model with a single file needs no such pair and stays one row, which says the name and carries the heart as it always did; only the quant stays off it, since one file leaves nothing to tell apart. The parent line names rather than chooses, so it takes no click and no tab stop and the file rows are what keyboard and mouse pick - the dropdown's navigation, selection and highlight are unchanged. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: move a manager model to Loaded with the quants still down A loaded quant used to be pulled out of its repo and listed flat, while the quants left behind stayed with the repo in the local block - one model, two places, and its family broken on the way. The block now takes the model as the selector's sections do: one quant up moves the whole family to Loaded, and the quants that are down hang under it as they did at the bottom of the table, one click from being loaded instead of being elsewhere entirely. A file still downloading keeps its own row in the Downloading block rather than riding along, as before, and a family whose only file is downloading stays out of the table until it has something to show. Assisted by: Llama Chat (ggml-org/Qwen3.8-Flash-Next-GGUF:Q8_0 + DFLASH:Q8_0) * ui: a danger ghost button in llama-ui, and room between a model's name and its badges on phones The danger ghost button is a danger action that stays quiet until pointed at: the danger colour with no fill of its own, for an icon-only stop beside other controls. On a phone a model's name stood too close to the badges after it. Assisted-by: Claude Code (Fable 5.2) * ui: the model and its context in the chat form without agent features, under it with them Without llama-server's agent features there is no row of agent controls under the chat form, so the model selector and the context gauge sit inside the form, before the microphone and send. With them they stand in the row under the form, across from the working folder. A phone keeps the model in the form in either mode. When the server's mode changes, the controls fade out of one place and into the other while the room under the form opens or closes, and the row keeps its height, so the messages above never move. The controls in that row (the folder, the custom system message, the background tasks and the model) share one height and text size. A menu opened from inside the form's card opens clear of the card, and one opened from the row under it opens upward, level with the form's bottom edge. Assisted-by: Claude (Opus 5.5 Medium) * ui: the working folder as a key under the chat form, and its picker's footer While the folder tools are on, the working folder stands under the chat form on a desktop whether it is set or not, as a key of the row there, with the same height and text as the model beside it, and the + menu offers it too. The key opens the picker; it has no clear button of its own, as the picker clears it. The picker opens as close to the form as its other panels, and its footer says where the search looks as soon as it opens, before anything is typed in its field. Assisted-by: Claude (Opus 5.5 Medium) * ui: the context popover keeps to its basics The context gauge's popover shows how much of the context is used of how much, the meter in the gauge's colours, the conversation's average prefill and decode speeds, and the button that compacts the conversation. The token counts behind them stay in a fold of their own, which the phone's drawer keeps. Inside the chat form the popover opens clear of the form's card. While the model loads, the dial runs a short arc round its own track in place of a separate spinner, and it reads in one colour wherever it is drawn. Assisted-by: Claude (Opus 5.5 Medium) * ui: the selector tree's branches turn on a soft corner A model's files and the dictation model hang off their line on one bent stroke with a rounded corner, in place of a straight rail and a stub meeting at a sharp one. Assisted-by: Claude (Opus 5.5 Medium) * ui: a model's quants fold under its line A model that comes in several files is one line again until it is opened: folded, it wears the quant and drafts of the file that matters here (the conversation's, else one that is up, else the first) and a click on it picks that file; a chevron lets the other files out on the tree's branches. Assisted-by: Claude (Opus 5.5 Medium) * ui: a model with no family heading stands level with the headings A family of one has no heading, so its model is no longer indented as if it sat under the heading above it. Assisted-by: Claude (Opus 5.5 Medium) * ui: model names in the selector's list are lighter than its headings Llama UI's ModelId takes a nameClass for the name's weight, medium by default. The selector's rows pass a normal weight, so a section heading stands apart from the models under it. Assisted-by: Claude (Opus 5.5 Medium) * ui: a little more room above the selector's family headings On desktop a family heading stands a little apart from the family above it, and the Downloading heading from the rows above it. Assisted-by: Claude (Opus 5.5 Medium) * ui: a microphone says why the dictation model hangs under the chat model The dictation branch's elbow leads into a microphone, then the model's row. Assisted-by: Claude (Opus 5.5 Medium) * ui: one model list without sections, the conversation's model first The selector drops its Loaded, Favorites and Other sections for one list in the order of what matters now: the conversation's model, the models that are up, the favorites, then the rest, each part leaving out what one above shows. The dictation model hangs off the file the conversation chats with, loaded or not. The sections' client test becomes one that guards this order. Assisted-by: Claude (Opus 5.5 Medium) * ui: the selector's rows wear the parameters, quant and drafts, the tags on request A row in the models selector carried every badge the model had: its tags (chat, Instruct, a version), its aliases and a voice role badge that no metadata of the model gives, beside the parameters and the quant that tell two models apart. The rows now wear the parameters, the quant and the drafts with their own quant, a lone file's row included, and the button under the chat form the name and the parameters. A new setting, Show all model badges in models selector, brings the tags and aliases back. The voice role badge goes: the microphone among a row's actions already says which models hear. Assisted-by: Claude (Opus 5.5 Medium)
Author
Parents
Loading