validateLocalModel
private fun ServerSetupState.validateLocalModel(customModel: Boolean, customModelPath: String, hasDownloadedSelection: Boolean, filePathValidator: FilePathValidator, update: ServerSetupState.(ServerSetupState.ValidationError?) -> ServerSetupState): ServerSetupValidationResult(source)
Executes the validateLocalModel step in the SDAI presentation layer.
Return
Result produced by validateLocalModel.
Author
Dmitriy Moroz
Parameters
customModel
custom model value consumed by the API.
customModelPath
custom model path value consumed by the API.
hasDownloadedSelection
has downloaded selection value consumed by the API.
filePathValidator
file path validator value consumed by the API.
update
update value consumed by the API.