Skip to main content

check_conformance

Function check_conformance 

Source
pub async fn check_conformance(
    ir: &AgentDescriptorIR,
    router: &ModelRouter,
) -> ConformanceReport
Expand description

Run the full conformance check against a compiled descriptor’s IR.

router should be the same ModelRouter instance (backed by the same crate::llm::registry::ProviderRegistry) a real request would use — conformance is only meaningful against the actual configured deployment, not an idealized one.