pub struct HitlConfig {
pub timeout_secs: u32,
pub max_iterations: Option<u32>,
pub max_tokens: Option<u64>,
pub autonomy: Option<Autonomy>,
}Fields§
§timeout_secs: u32§max_iterations: Option<u32>IGNORED since 2.79 (kept so old profiles load; warned at agent start).
Bounds live in limits: — see mur limits <agent>.
max_tokens: Option<u64>IGNORED since 2.79 (kept so old profiles load; warned at agent start).
Bounds live in limits: — see mur limits <agent>.
autonomy: Option<Autonomy>How far this agent carries a turn before handing back (issue #001):
continue / review / ask. None = inherit the built-in default,
which is the strictest (ask) — turning an agent loose is a thing you
write down, never a thing you get by leaving a key out.
Lives here, beside timeout_secs, because it is human-in-the-loop
vocabulary; it does NOT live in limits:, which is budgets. The two
are enforced at different seams and must not be confusable.
Trait Implementations§
Source§impl Clone for HitlConfig
impl Clone for HitlConfig
Source§impl Debug for HitlConfig
impl Debug for HitlConfig
Source§impl Default for HitlConfig
impl Default for HitlConfig
Source§impl<'de> Deserialize<'de> for HitlConfig
impl<'de> Deserialize<'de> for HitlConfig
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
Source§impl PartialEq for HitlConfig
impl PartialEq for HitlConfig
Source§impl Serialize for HitlConfig
impl Serialize for HitlConfig
impl StructuralPartialEq for HitlConfig
Auto Trait Implementations§
impl Freeze for HitlConfig
impl RefUnwindSafe for HitlConfig
impl Send for HitlConfig
impl Sync for HitlConfig
impl Unpin for HitlConfig
impl UnsafeUnpin for HitlConfig
impl UnwindSafe for HitlConfig
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