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

@@ -48,8 +48,8 @@ type FormProps<
fieldMoreInfo?: (payload: CredentialFormSchema | CustomFormSchema) => ReactNode
customRenderField?: (
formSchema: CustomFormSchema,
props: Omit<FormProps<CustomFormSchema>, 'override' | 'customRenderField'>
) => ReactNode
props: Omit<FormProps<CustomFormSchema>, 'override' | 'customRenderField'>,
) => ReactNode,
// If return falsy value, this field will fallback to default render
override?: [Array<FormTypeEnum>, (formSchema: CredentialFormSchema, props: Omit<FormProps<CustomFormSchema>, 'override' | 'customRenderField'>) => ReactNode]
nodeId?: string

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 }