fix: show all provider models when no providers connected (#11198)
parent
aa1d0f6167
commit
2125dc11c7
|
|
@ -158,7 +158,7 @@ export function DialogModel(props: { providerID?: string }) {
|
|||
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
|
||||
)
|
||||
if (inFavorites) return false
|
||||
const inRecents = recentList.some(
|
||||
const inRecents = recents.some(
|
||||
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
|
||||
)
|
||||
if (inRecents) return false
|
||||
|
|
|
|||
Loading…
Reference in New Issue