Fix vs code and using min version after bump @remixicon/react and @monaco-editor/loader (#27008)

This commit is contained in:
Eric Guo
2025-10-21 11:41:44 +08:00
committed by GitHub
parent 4e6682bd85
commit e45d5700ec
228 changed files with 57291 additions and 42718 deletions

View File

@@ -72,7 +72,7 @@ const Popup: FC<PopupProps> = ({
return scopeFeatures.every((feature) => {
if (feature === ModelFeatureEnum.toolCall)
return supportFunctionCall(modelItem.features)
return modelItem.features?.some(featureItem => featureItem === feature)
return modelItem.features?.includes(feature) ?? false
})
})
return { ...model, models: filteredModels }