[object Object]

← back to Exo

fix: add missing getModelFitStatus prop to Recent tab (#1470)

1c3cc699d436b0afb49c895fe302bba0b8fb2cff · 2026-02-13 08:37:32 -0800 · Alex Cheema

## Summary
- Clicking the **Recent** tab in the Model Picker crashed with
`TypeError: e.getModelFitStatus is not a function`
- The `ModelPickerGroup` component in the Recent tab section was missing
the `{getModelFitStatus}` prop, while all other tabs (e.g., the main
model list) passed it correctly
- Added the missing `{getModelFitStatus}` prop so the Recent tab renders
without errors, matching the behavior of the other tabs

## Test plan
- [ ] Open the dashboard and click **SELECT MODEL**
- [ ] Switch to the **Recent** tab — verify it renders without crashing
- [ ] Confirm model fit status indicators display correctly on recent
models
- [ ] Verify the other tabs (All, Favorites) still work as before

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

Files touched

Diff

commit 1c3cc699d436b0afb49c895fe302bba0b8fb2cff
Author: Alex Cheema <41707476+AlexCheema@users.noreply.github.com>
Date:   Fri Feb 13 08:37:32 2026 -0800

    fix: add missing getModelFitStatus prop to Recent tab (#1470)
    
    ## Summary
    - Clicking the **Recent** tab in the Model Picker crashed with
    `TypeError: e.getModelFitStatus is not a function`
    - The `ModelPickerGroup` component in the Recent tab section was missing
    the `{getModelFitStatus}` prop, while all other tabs (e.g., the main
    model list) passed it correctly
    - Added the missing `{getModelFitStatus}` prop so the Recent tab renders
    without errors, matching the behavior of the other tabs
    
    ## Test plan
    - [ ] Open the dashboard and click **SELECT MODEL**
    - [ ] Switch to the **Recent** tab — verify it renders without crashing
    - [ ] Confirm model fit status indicators display correctly on recent
    models
    - [ ] Verify the other tabs (All, Favorites) still work as before
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
---
 dashboard/src/lib/components/ModelPickerModal.svelte | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dashboard/src/lib/components/ModelPickerModal.svelte b/dashboard/src/lib/components/ModelPickerModal.svelte
index 21d8228e..84a93ee7 100644
--- a/dashboard/src/lib/components/ModelPickerModal.svelte
+++ b/dashboard/src/lib/components/ModelPickerModal.svelte
@@ -806,6 +806,7 @@
                 isFavorite={favorites.has(group.id)}
                 {selectedModelId}
                 {canModelFit}
+                {getModelFitStatus}
                 onToggleExpand={() => toggleGroupExpanded(group.id)}
                 onSelectModel={handleSelect}
                 {onToggleFavorite}

← 5a286427 Add support for Step 3.5 flash! (#1460)  ·  back to Exo  ·  python: add hermetic basedpyright typecheck to nix flake che 0b7d88b4 →