pub struct Stack {
pub llm: BTreeMap<String, String>,
pub harness: String,
pub pattern: String,
pub decision: String,
pub tools: Vec<String>,
pub skills: Vec<String>,
pub instructions: Vec<String>,
pub max_steps: u32,
pub max_cost_usd_per_task: Option<f64>,
pub retries: u32,
pub temperature: Option<f64>,
pub tool_timeout_seconds: Option<u64>,
}Expand description
One concrete agent configuration (an axis of the search space).
Fields§
§llm: BTreeMap<String, String>§harness: String§pattern: String§decision: String§tools: Vec<String>§skills: Vec<String>§instructions: Vec<String>§max_steps: u32§max_cost_usd_per_task: Option<f64>§retries: u32Number of agent-level retries (a policy under test; the reference harness retries a “failed” step up to this many times, so more retries raise success at the cost of more tokens/latency).
temperature: Option<f64>Sampling temperature (recorded; the reference harness is deterministic).
tool_timeout_seconds: Option<u64>Per-step tool timeout in seconds (an HPO axis at deeper depths).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stack
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnsafeUnpin for Stack
impl UnwindSafe for Stack
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