Skip to main content

sidecar_required

Function sidecar_required 

Source
pub const fn sidecar_required(
    agents_present: bool,
    reroute_order_flow: bool,
) -> bool
Expand description

Whether a session needs the metis sidecar (agents and reroute both quote through it). Loose bools so the launch spec, which only carries a projected agents_present flag, can apply the same rule.