pub struct AutoresearchConfig {
pub objective: String,
pub metric_command: String,
pub direction: String,
pub validation_command: String,
pub validation_retries: usize,
pub command_timeout_secs: u64,
pub samples: usize,
pub min_improvement_percent: f64,
pub max_iterations: usize,
pub max_duration_secs: u64,
pub ledger_path: String,
pub model: String,
}Fields§
§objective: StringHuman-readable objective supplied to the agent.
metric_command: StringTrusted local command that prints one numeric metric value.
direction: Stringminimize or maximize.
validation_command: StringOptional command that must pass before the metric is considered.
validation_retries: usizeNumber of attempts for the validation command.
command_timeout_secs: u64Timeout for each validation and metric process.
samples: usizeNumber of metric samples per measurement.
min_improvement_percent: f64Minimum accepted improvement as a percentage. Defaults to strict.
max_iterations: usizeMaximum number of iterations for one invocation.
max_duration_secs: u64Wall-clock budget for one invocation. Zero disables the budget.
ledger_path: StringDurable ledger path, relative to the workspace unless absolute.
model: StringModel override. Empty uses the runner’s default.
Implementations§
Trait Implementations§
Source§impl Clone for AutoresearchConfig
impl Clone for AutoresearchConfig
Source§fn clone(&self) -> AutoresearchConfig
fn clone(&self) -> AutoresearchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoresearchConfig
impl Debug for AutoresearchConfig
Source§impl Default for AutoresearchConfig
impl Default for AutoresearchConfig
Source§impl<'de> Deserialize<'de> for AutoresearchConfigwhere
AutoresearchConfig: Default,
impl<'de> Deserialize<'de> for AutoresearchConfigwhere
AutoresearchConfig: Default,
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
Auto Trait Implementations§
impl Freeze for AutoresearchConfig
impl RefUnwindSafe for AutoresearchConfig
impl Send for AutoresearchConfig
impl Sync for AutoresearchConfig
impl Unpin for AutoresearchConfig
impl UnsafeUnpin for AutoresearchConfig
impl UnwindSafe for AutoresearchConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more