EngineSelectionState
data class EngineSelectionState(val loading: Boolean = true, val mode: ServerSource = ServerSource.AUTOMATIC1111, val sdModels: List<String> = emptyList(), val selectedSdModel: String = "", val swarmModels: List<String> = emptyList(), val selectedSwarmModel: String = "", val hfModels: List<String> = emptyList(), val selectedHfModel: String = "", val stEngines: List<String> = emptyList(), val selectedStEngine: String = "", val localAiModels: List<LocalAiModel> = emptyList(), val selectedLocalAiModelId: String = "") : MviState(source)
Carries EngineSelectionState data through the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(loading: Boolean = true, mode: ServerSource = ServerSource.AUTOMATIC1111, sdModels: List<String> = emptyList(), selectedSdModel: String = "", swarmModels: List<String> = emptyList(), selectedSwarmModel: String = "", hfModels: List<String> = emptyList(), selectedHfModel: String = "", stEngines: List<String> = emptyList(), selectedStEngine: String = "", localAiModels: List<LocalAiModel> = emptyList(), selectedLocalAiModelId: String = "")
Properties
Link copied to clipboard
Exposes the localAiModels value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the mode value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the selectedHfModel value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the selectedLocalAiModelId value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the selectedSdModel value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the selectedStEngine value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the selectedSwarmModel value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the swarmModels value used by the SDAI presentation layer.