Before submitting#
Area#
apps/desktop
Steps to reproduce#
- Open a thread in T3 Code.
- Hover over the model selector in the composer.
- Compare its tooltip with the visible model label and the configured model-picker shortcut.
Expected behavior#
The tooltip should describe the action and show its current keyboard shortcut, for example: Change model · ⇧⌘M.
- Display the configured
modelPicker.toggle binding, including custom bindings and platform-appropriate modifiers.
- If no shortcut is assigned, show “Change model” without a shortcut.
- Preserve the full model name where useful for truncated labels.
- Apply this to web and desktop.
This request is separate from adding effort-level shortcuts: the model-picker shortcut already exists; its tooltip should make it discoverable.
Actual behavior#
The tooltip only repeats the model name already visible on the button. In the screenshot, both show “GPT-6-Astra”, with no hint that ⇧⌘M opens the model picker.
This makes an existing keyboard action difficult to discover while composing a prompt.
Related: https://github.com/pingdotgg/t3code/issues/1352 was closed after adding the Plan/Build shortcut to that control’s tooltip. The model selector still lacks its shortcut hint.
Impact#
Cosmetic issue
Version or commit#
0.0.40 (09e8de9c655a)
Environment#
macOS, T3 Code desktop; model: GPT-6-Astra.
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
Use the existing model-picker shortcut: ⇧⌘M on macOS or Ctrl+Shift+M on Windows/Linux, or look it up in Settings → Keybindings.
Triage#
Confirmed. The composer model trigger tooltip only repeats the visible model name.
modelPicker.togglealready exists (mod+shift+m→ ⇧⌘M on macOS, Ctrl+Shift+M elsewhere) and already opens the picker; it is just not shown on hover.Where#
In
apps/web/src/components/chat/ProviderModelPicker.tsx, the trigger tooltip isprops.triggerLabel ?? triggerLabel(the model name / “Choose model”).keybindingsis already passed in and used for jump labels inside the open picker, not on the closed button.ChatComposeralready passesisComposerOwnedandkeybindings.ChatViewalready routesmodelPicker.toggletocomposerRef.current?.toggleModelPicker().shortcutLabelForCommandalready formats the current binding, including custom ones.Desktop wraps this same web control, so one change covers web + desktop. Settings also uses
ProviderModelPicker(project defaults, text-generation model) without composer ownership — that shortcut only works in chat, so the hint should be gated on the composer-owned trigger. Mobile uses a sheet, not this hover tooltip.Related#
Suggested fix#
When
isComposerOwned, build the tooltip from the action plus the currentmodelPicker.togglelabel, e.g.Change model · ⇧⌘M. If the command is unbound, showChange modelwith no shortcut. Keep the full model name when the button label is truncated. Existing sidebar tooltip pattern:Toggle main sidebar (${shortcut})inAppSidebarLayout.Small cosmetic discoverability fix. Accepting as an enhancement.