prettyPrint

fun Prompt.prettyPrint(): String

Renders the prompt's messages into a human-readable, newline-separated string, each prefixed with its index and message role. Intended for logging and debugging.