pub struct LongRunningExecutionPolicy {
pub max_discovered_steps: Option<u32>,
pub max_discovery_depth: Option<u32>,
pub cost_alert_threshold_usd: Option<f64>,
pub idle_timeout_seconds: Option<u64>,
pub max_same_step_repetitions: Option<u32>,
pub checkpointing: CheckpointPolicy,
pub memory: WorkingMemoryPolicy,
}Expand description
Policy configuration for long-running agentic executions
Fields§
§max_discovered_steps: Option<u32>Maximum number of dynamically discovered steps before intervention
max_discovery_depth: Option<u32>Maximum depth of discovery chains
cost_alert_threshold_usd: Option<f64>Alert threshold for cumulative cost in USD
idle_timeout_seconds: Option<u64>Maximum time without activity before idle timeout (seconds)
max_same_step_repetitions: Option<u32>Maximum repetitions of same methodology before loop detection
checkpointing: CheckpointPolicyCheckpointing strategy
memory: WorkingMemoryPolicyMemory management strategy
Implementations§
Trait Implementations§
Source§impl Clone for LongRunningExecutionPolicy
impl Clone for LongRunningExecutionPolicy
Source§fn clone(&self) -> LongRunningExecutionPolicy
fn clone(&self) -> LongRunningExecutionPolicy
Returns a duplicate of the value. Read more
1.0.0 · 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 LongRunningExecutionPolicy
impl Debug for LongRunningExecutionPolicy
Source§impl Default for LongRunningExecutionPolicy
impl Default for LongRunningExecutionPolicy
Source§impl<'de> Deserialize<'de> for LongRunningExecutionPolicy
impl<'de> Deserialize<'de> for LongRunningExecutionPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LongRunningExecutionPolicy
impl RefUnwindSafe for LongRunningExecutionPolicy
impl Send for LongRunningExecutionPolicy
impl Sync for LongRunningExecutionPolicy
impl Unpin for LongRunningExecutionPolicy
impl UnsafeUnpin for LongRunningExecutionPolicy
impl UnwindSafe for LongRunningExecutionPolicy
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