pub struct WorkflowRunLimits {
pub max_ai_credits: Option<f64>,
pub max_concurrent_subagents: Option<i64>,
pub max_total_subagents: Option<i64>,
pub timeout_seconds: Option<f64>,
}Expand description
Wire-only per-invocation workflow resource ceiling overrides.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§max_ai_credits: Option<f64>Maximum AI credits consumed by workflow subagents and their descendants. The post-paid ceiling is soft: parallel turns can settle beyond it before the run stops.
max_concurrent_subagents: Option<i64>Maximum number of workflow subagents that may run concurrently.
max_total_subagents: Option<i64>Maximum total number of workflow subagents that may be admitted.
timeout_seconds: Option<f64>Maximum accumulated active-execution time in seconds. Active execution includes the entire extension body, subprocess waits, queued-agent waits, and sleeps; time between resumed attempts is not counted.
Trait Implementations§
Source§impl Clone for WorkflowRunLimits
impl Clone for WorkflowRunLimits
Source§impl Debug for WorkflowRunLimits
impl Debug for WorkflowRunLimits
Source§impl Default for WorkflowRunLimits
impl Default for WorkflowRunLimits
Source§impl<'de> Deserialize<'de> for WorkflowRunLimits
impl<'de> Deserialize<'de> for WorkflowRunLimits
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 WorkflowRunLimits
impl RefUnwindSafe for WorkflowRunLimits
impl Send for WorkflowRunLimits
impl Sync for WorkflowRunLimits
impl Unpin for WorkflowRunLimits
impl UnsafeUnpin for WorkflowRunLimits
impl UnwindSafe for WorkflowRunLimits
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