pub fn decode_openai_response(
runner: Symbol,
model: &str,
body: &[u8],
include_raw: bool,
) -> Result<Expr>Expand description
Decodes an OpenAI chat-completion response body into a SIM model-response
transcript, attributing it to runner/model and optionally embedding the
raw provider JSON when include_raw is set.