GenerationModalRenderer
fun GenerationModalRenderer(screenModal: GenerationModal, onDismissRequest: () -> Unit, onCancelGeneration: () -> Unit, onSaveRequest: (List<AiGenerationResult>) -> Unit, onReportRequest: (AiGenerationResult) -> Unit, onViewDetailRequest: (AiGenerationResult) -> Unit, onBenchmarkRequest: () -> Unit, onSkipBenchmarkRequest: () -> Unit, onBenchmarkContinueRequest: () -> Unit, onBenchmarkDoNotAskRequest: () -> Unit)(source)
Renders the GenerationModalRenderer UI for the SDAI presentation layer.
Author
Dmitriy Moroz
Parameters
screenModal
screen modal value consumed by the API.
onDismissRequest
callback invoked by the component.
onCancelGeneration
callback invoked by the component.
onSaveRequest
callback invoked by the component.
onReportRequest
callback invoked by the component.
onViewDetailRequest
callback invoked by the component.
onBenchmarkRequest
callback invoked when the user wants to open benchmark.
onSkipBenchmarkRequest
callback invoked when the user skips first-run benchmark.
onBenchmarkContinueRequest
callback invoked when the user accepts recommendation risk.
onBenchmarkDoNotAskRequest
callback invoked when the user suppresses future recommendation warnings.