pub struct MetaHarnessSpec {
pub name: &'static str,
pub budget: u32,
pub compact_after_chars: usize,
pub step_limit: u32,
pub model_attempts: u32,
pub system: Vec<String>,
pub tools: Vec<ToolSpec>,
pub tool_round_cap: Option<u32>,
pub parts: Vec<HarnessPartId>,
}Expand description
Declarative Meta Harness recipe admitted by Code / SDKs.
Fields§
§name: &'static str§budget: u32§compact_after_chars: usize§step_limit: u32§model_attempts: u32§system: Vec<String>§tools: Vec<ToolSpec>§tool_round_cap: Option<u32>§parts: Vec<HarnessPartId>Ordered part ids. Empty means the stock tree
system + tools + budget + compact + infer(scheduler).
Implementations§
Source§impl MetaHarnessSpec
impl MetaHarnessSpec
pub fn into_config(self) -> Result<HarnessConfig, ActorError>
pub fn resolved_parts(&self) -> Vec<HarnessPartId>
Trait Implementations§
Source§impl Clone for MetaHarnessSpec
impl Clone for MetaHarnessSpec
Source§impl Debug for MetaHarnessSpec
impl Debug for MetaHarnessSpec
Source§impl Default for MetaHarnessSpec
impl Default for MetaHarnessSpec
impl Eq for MetaHarnessSpec
Source§impl PartialEq for MetaHarnessSpec
impl PartialEq for MetaHarnessSpec
impl StructuralPartialEq for MetaHarnessSpec
Auto Trait Implementations§
impl Freeze for MetaHarnessSpec
impl RefUnwindSafe for MetaHarnessSpec
impl Send for MetaHarnessSpec
impl Sync for MetaHarnessSpec
impl Unpin for MetaHarnessSpec
impl UnsafeUnpin for MetaHarnessSpec
impl UnwindSafe for MetaHarnessSpec
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