responds

open infix override fun responds(block: suspend OllamaChatResponseSpecification.() -> Unit)(source)

Configures a single, complete chat response for the mock Ollama chat completion API.

Applies the provided configuration block to an OllamaChatResponseSpecification, generates randomized timing and evaluation metadata, and constructs a ChatResponse with the specified model, message, and completion details.