executePromptOrThrow

suspend fun StageScope<*, *, *>.executePromptOrThrow(prompt: Prompt, model: LLModel, retryPolicy: RetryPolicy? = null): List<Message.Response>

.getOrThrow() shortcut over executePrompt; throws on a recorded execution failure.