pub struct ToolCallGuardrailConfig {
pub warnings_enabled: bool,
pub hard_stop_enabled: bool,
pub exact_failure_warn_after: usize,
pub exact_failure_block_after: usize,
pub same_tool_failure_warn_after: usize,
pub same_tool_failure_halt_after: usize,
pub no_progress_warn_after: usize,
pub no_progress_block_after: usize,
pub idempotent_tools: HashSet<String>,
pub mutating_tools: HashSet<String>,
}Fields§
§warnings_enabled: bool§hard_stop_enabled: bool§exact_failure_warn_after: usize§exact_failure_block_after: usize§same_tool_failure_warn_after: usize§same_tool_failure_halt_after: usize§no_progress_warn_after: usize§no_progress_block_after: usize§idempotent_tools: HashSet<String>§mutating_tools: HashSet<String>Trait Implementations§
Source§impl Clone for ToolCallGuardrailConfig
impl Clone for ToolCallGuardrailConfig
Source§fn clone(&self) -> ToolCallGuardrailConfig
fn clone(&self) -> ToolCallGuardrailConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolCallGuardrailConfig
impl Debug for ToolCallGuardrailConfig
Auto Trait Implementations§
impl Freeze for ToolCallGuardrailConfig
impl RefUnwindSafe for ToolCallGuardrailConfig
impl Send for ToolCallGuardrailConfig
impl Sync for ToolCallGuardrailConfig
impl Unpin for ToolCallGuardrailConfig
impl UnsafeUnpin for ToolCallGuardrailConfig
impl UnwindSafe for ToolCallGuardrailConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more