pub(crate) fn check_response_output(
output: &ResponseOutput,
response_id: Option<&str>,
context: &str,
) -> ChatbotResult<()>Expand description
Logs output’s usage under context, then errors if it reports a failure — the two checks
both stream parsers make on every line, before either looks at its own content.