Skip to main content

stream_error_summary

Function stream_error_summary 

Source
pub fn stream_error_summary(
    error: &LlmClientError,
    served_model: Option<&ModelId>,
) -> RouteErrorSummary
Expand description

Returns a safe telemetry summary for an error yielded by an active response stream.

served_model should be the target recorded on the response before its stream was returned.