Skip to content

fix: show all provider models when no providers connected#11198

Merged
thdxr merged 1 commit intodevfrom
fix-model-dialog-recent-filter
Jan 29, 2026
Merged

fix: show all provider models when no providers connected#11198
thdxr merged 1 commit intodevfrom
fix-model-dialog-recent-filter

Conversation

@thdxr
Copy link
Contributor

@thdxr thdxr commented Jan 29, 2026

When no providers were connected, the model dialog would hide models that were in the recent list, but the recent section wasn't being displayed. This caused models to completely disappear from the dialog.

The filter was checking "recentList" (which only contained non-favorite recent items) instead of "recents" (all recent items), causing models to be incorrectly filtered out of the main provider list when the recent section wasn't shown.

Changes

  • Changed "recentList" to "recents" in the filter function so all recent items are properly checked when filtering duplicates in sectioned view

Fixes: model dialog showing empty when no providers connected

When no providers were connected, the model dialog would hide models
that were in the recent list, but the recent section wasn't being
displayed. This caused models to completely disappear.

The filter was checking recentList (which only contained non-favorite
recent items) instead of recents (all recent items), causing models
to be incorrectly filtered out of the main provider list when the
recent section wasn't shown.
@thdxr thdxr enabled auto-merge (squash) January 29, 2026 21:14
@thdxr thdxr merged commit 2125dc1 into dev Jan 29, 2026
8 checks passed
@thdxr thdxr deleted the fix-model-dialog-recent-filter branch January 29, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant