Skip to main content

validate_citations

Function validate_citations 

Source
pub fn validate_citations(
    trace: &Trace,
    citations: &[Citation],
) -> Result<(), Vec<CitationError>>
Expand description

Checks that every citation maps to steps in trace: each cited URL must be fetched by one of its listed steps, and each cited tool result must come from one of its listed (successful) tool steps.