fix: show all provider models when no providers connected (#11198)
This commit is contained in:
parent
aa1d0f6167
commit
2125dc11c7
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ export function DialogModel(props: { providerID?: string }) {
|
||||||
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
|
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
|
||||||
)
|
)
|
||||||
if (inFavorites) return false
|
if (inFavorites) return false
|
||||||
const inRecents = recentList.some(
|
const inRecents = recents.some(
|
||||||
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
|
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
|
||||||
)
|
)
|
||||||
if (inRecents) return false
|
if (inRecents) return false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue