validateServerSetup
internal fun ServerSetupState.validateServerSetup(urlValidator: UrlValidator, stringValidator: CommonStringValidator, filePathValidator: FilePathValidator): ServerSetupValidationResult(source)
Validates the currently selected provider form.
Remote providers validate URL/auth/API key inputs. Local providers validate that either a downloaded model is selected or, when custom models are enabled, that the custom path is usable.