Skip to main content

open_model_refusal

Function open_model_refusal 

Source
pub fn open_model_refusal(
    provider: &str,
    model: &str,
    local: bool,
) -> Option<&'static str>
Expand description

Request-time check: the refusal code when the policy refuses this open model on this provider; a flag-only verdict is reported at record time.