Repository navigation
Description
Description
In the composer model picker, some model entries render as completely blank rows: a gap about one row tall between two visible models, with no name, no shortcut hint, no badge. The hidden entries still hold jump shortcuts, so the visible rows are numbered non-contiguously (I saw ⌘1, ⌘2, ⌘4, ⌘6 on four visible rows for an instance that reported six models). Pressing the missing shortcut selects something the user cannot see.
This is not intentional spacing: each gap is exactly one list-item slot, and the surrounding rows keep the slot's jump number.
Steps to reproduce (best guess; needs confirmation)
- Configure a provider instance (I saw this with a Claude Code instance backed by an Anthropic-compatible gateway with model discovery on) whose reported model list mixes several current models with legacy/unavailable entries. Around six entries was enough.
- Open the model picker for that instance: single provider tab, shortcuts/rail visible, search box focused with an empty query.
- Two of the entries do not paint. The model list shows blank ~40px slots and the jump hints skip the numbers that belong to them (
⌘1,⌘2,⌘4,⌘6).
If that does not reproduce, it may need the specific list shape that yields legacy/unavailable entries alongside current ones for the same instance.
Expected
Either the model renders as a normal row, or it is absent from the list entirely, and the displayed jump numbers are contiguous across the visible rows.
Evidence
- Pixel scan of the screenshot: both gap bands are pure list background (RGB ~19,19,19) across the whole list pane. No text, icon, badge, or shortcut hint is drawn. Each gap is the height of one normal row slot (~38-40px), not extra padding.
- The four visible rows carry
⌘1,⌘2,⌘4,⌘6, so two entries that paint nothing were still assigned⌘3and⌘5. - There is no intentional spacer in this list: an item is either a
ModelListRowor the "Legacy models" toggle (apps/web/src/components/chat/ModelPickerContent.tsx,apps/web/src/components/chat/ModelListRow.tsx). An empty item slot therefore means a row that failed to paint, not layout. - Two plausible paths, both leave the entry in the item data while painting nothing:
- the disabled/unavailable row path, where
ModelListRowis wrapped in a Tooltiprenderprop (apps/web/src/components/chat/ModelListRow.tsx, around thedisabledReasonbranch); - recycled cells in the
LegendListvirtualizer (recycleItemsinModelPickerContent.tsx).
- the disabled/unavailable row path, where
- The jump numbers being assigned to entries that do not paint rhymes with [Bug]: Project picker jump shortcuts keep their unfiltered numbers after typing #31153 / fix(web): project picker jump shortcuts follow the filtered rows #31159 (project picker numbered rows before filtering) and [Bug]: Model picker assigns duplicate keyboard shortcuts #4432 (shortcut labels computed separately from the rows).
Screenshots
Reported screenshot, annotated. Red boxes mark the two dead slots; the amber box marks the shortcut-hint column. The four visible rows read ⌘1 ⌘2 ⌘4 ⌘6.
Minimal schematic. Same six entries on both sides: expected contiguous numbering, versus the observed dead slots.
Notes
- Build: local desktop build from
5b93aeda19ff(not present in upstream history), on the 0.1.5-era client. The picker is the pre-row-redesign one: single-line rows, no per-row provider icon, no inline effort control. - Related but different: [Bug]: Model picker "Find a model" search cannot surface legacy models (filtered out before the query runs) #27573 (legacy models filtered out before search).
- Screenshot images live on a fork branch (
kaovilai/t3code@assets/31579), not in this repository.
Environment
- Desktop client (macOS), empty search query, a single provider instance tab.
Note
Responses generated with Claude (model: DeepSeek-V4.1-Flash-1017)


Activity
docs(assets): screenshots for pingdotgg#31579