//! Response type returned by [`LlmClient::complete`](crate::client::LlmClient::complete).
use Value;
/// A single LLM completion response.
///
/// The structured payload is a [`serde_json::Value`] so callers can run
/// it through their own JSON Schema validator (matching whatever schema
/// they passed in the request). Adapters that called a free-form
/// completion endpoint wrap the returned text into
/// [`Value::String`] so the field is always
/// populated.