Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(ui): move the fast mode indicator to settings
Keep the harness logo on the model picker and show the lightning indicator on the settings trigger that contains the Fast Mode toggle. Move the accessible fast-mode description to the same trigger.

Assisted-by: gpt-6.1-sol
  • Loading branch information
exhyy committed Nov 4, 2026
commit e4e7fab4f63ffe6d25aa2389504bb39d6936ef7b
19 changes: 9 additions & 10 deletions ui/src/components/ModelPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,7 @@ export function ModelPicker({
"composer-pill inline-flex h-8 min-w-0 max-w-full items-center gap-1 rounded-md px-2 text-sm text-text whitespace-nowrap transition-[background,color] duration-150 ease-standard hover:bg-surface",
className,
)}
aria-label={m.a11y_chat_model({
label:
effectiveServiceTier === "priority" ? `${m.model_picker_fast_speed()} ${label}` : label,
})}
aria-label={m.a11y_chat_model({ label })}
onKeyDown={(event) => {
if (event.key === "ArrowDown") {
event.preventDefault();
Expand All @@ -386,9 +383,7 @@ export function ModelPicker({
}
}}
>
{effectiveServiceTier === "priority" ? (
<Zap size={14} fill="currentColor" aria-hidden="true" />
) : value?.harness ? (
{value?.harness ? (
<HarnessLogo harness={value.harness} logo={selectedHarness?.logo} size={14} />
) : null}
<span className="model-picker-label min-w-0 overflow-hidden text-ellipsis whitespace-nowrap">
Expand Down Expand Up @@ -620,12 +615,16 @@ export function ModelPicker({
>
<Menu.Trigger
className="composer-pill inline-flex h-8 shrink-0 items-center gap-1 rounded-md px-2 text-sm text-muted transition-[background,color] duration-150 ease-standard hover:bg-surface"
aria-label={
aria-label={[
reasoningLabel
? `${m.settings_page_settings()}: ${reasoningLabel}`
: m.settings_page_settings()
}
: m.settings_page_settings(),
effectiveServiceTier === "priority" ? m.model_picker_fast_mode() : null,
].filter(Boolean).join(" · ")}
>
{effectiveServiceTier === "priority" && (
<Zap size={14} fill="currentColor" aria-hidden="true" />
)}
{reasoningLabel ? <span>{reasoningLabel}</span> : <Settings size={14} aria-hidden="true" />}
<ChevronDown size={14} className="shrink-0" />
</Menu.Trigger>
Expand Down
Loading