Skip to content

Commit 2125dc1

Browse files
authored
fix: show all provider models when no providers connected (#11198)
1 parent aa1d0f6 commit 2125dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function DialogModel(props: { providerID?: string }) {
158158
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
159159
)
160160
if (inFavorites) return false
161-
const inRecents = recentList.some(
161+
const inRecents = recents.some(
162162
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
163163
)
164164
if (inRecents) return false

0 commit comments

Comments
 (0)