Settings: the backend selector repeats itself when a backend's name is its kind and model #191
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen on production after #187's deploy (
fdd6c70; archived in OpenSpec assettings-page-tidyin874eb27). For a backend whose name is the same as its kind and model, Settings' "Backend runs use" selector reads:vLLM · qwen3.8-27b — vLLM · qwen3.8-27bThe label comes from
backendOption()inui/src/lib/settings.ts, which builds<name> — <kind> · <model>. When the name already says the kind and the model, the second half repeats it.What it should do
<kind> · <model>(ignoring case and spacing), show it once:vLLM · qwen3.8-27b.<name> — <kind> · <model>, e.g.GPU box — vLLM · qwen3.8-27b.(not saved)and the Free profile's labels stay as they are.Done when
backendOption()covers a name equal to its kind and model, and a name that differs.vLLM · qwen3.8-27bonce.Cosmetic.
Shipped in #301 (
5355515, deployed), archived in #302.On production, Settings' "Backend runs use" now reads
vLLM · qwen3.8-27bandllama.cpp · qwen3.8-flash-nextonce each, while a backend with a name of its own keeps both parts (fastllm qwen38-27b — fastllm · qwen3.8-27b). A vitest covers both cases.