pub struct TurnLimits {
pub max_model_rounds: u32,
pub max_tool_calls: u32,
}Expand description
Numeric limits for one execution.
Fields§
§max_model_rounds: u32Maximum number of logical model invocations, including the first.
max_tool_calls: u32Maximum cumulative number of model tool declarations.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnLimits
impl RefUnwindSafe for TurnLimits
impl Send for TurnLimits
impl Sync for TurnLimits
impl Unpin for TurnLimits
impl UnsafeUnpin for TurnLimits
impl UnwindSafe for TurnLimits
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