pub struct Limits {
pub max_runs: Option<u32>,
pub run: RunLimits,
pub subagents: SubagentLimits,
pub inline_max_bytes: Option<u64>,
pub step_timeout: Option<Dur>,
pub workflow: WorkflowLimits,
pub max_message_depth: Option<u32>,
}Fields§
§max_runs: Option<u32>§run: RunLimits§subagents: SubagentLimits§inline_max_bytes: Option<u64>§step_timeout: Option<Dur>§workflow: WorkflowLimits§max_message_depth: Option<u32>How many message hops may chain before a delivery is refused
(default DEFAULT_MESSAGE_DEPTH). This is the fail-closed gate on
message → turn → run → message, not a tuning knob: the loop it stops
re-arms itself faster than pressure shedding can hold it, because
shedding queues new turns while the chain keeps adding more.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Limits
impl<'de> Deserialize<'de> for Limits
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
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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