// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Gate if the overall block confidence is below `threshold`.
/// Note: LLM confidences are poorly calibrated; per-field confidence
/// (ReviewFieldConfidenceLt) tends to behave better.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ReviewConfidenceLt {
    /// Defaults to `confidence_lt`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub kind: Option<String>,
    /// Gate fires when confidence < threshold
    pub threshold: f64,
}
