pub struct RunConfig {Show 17 fields
pub max_turns: u32,
pub max_tool_calls: u32,
pub max_attempts: u32,
pub best_of: u32,
pub allow: Vec<Vec<String>>,
pub commit_per_task: bool,
pub acceptance: bool,
pub held_out: bool,
pub strength: StrengthConfig,
pub max_converge_rounds: u32,
pub monitor: bool,
pub review_required: bool,
pub frozen_additions: bool,
pub format: Option<Vec<String>>,
pub approval_wait: Duration,
pub attest: AttestConfig,
pub instructions: Vec<String>,
}Expand description
Limits and command allowances for an attempt.
Fields§
§max_turns: u32Model turns per attempt.
max_tool_calls: u32Tool calls per attempt.
max_attempts: u32Attempts per task run; failed verdicts are retried up to this.
best_of: u32Independent samples per task, the best by evidence kept.
allow: Vec<Vec<String>>Extra allowed argv prefixes for run_command.
commit_per_task: boolCommit each passed task on the speccoder branch ([git] commit = "per-task").
acceptance: boolDerive acceptance tests from the spec before attempts ([acceptance] generate).
held_out: boolAlso author held-out acceptance tests the implementer never sees
([acceptance] held_out, default on; nothing without generate).
strength: StrengthConfigAcceptance strength.
max_converge_rounds: u32Convergence phases a feature may get ([converge] max_rounds).
monitor: boolAsk the gaming monitor about every passing task ([monitor] enabled).
review_required: boolA run waits until every requirement is approved on its current
wording ([review] required).
frozen_additions: boolTest files that existed before an attempt may gain lines without
approval ([tests] frozen = "additions"; default "ask").
format: Option<Vec<String>>The formatter speccoder runs after each attempt, before verifying
([format] argv): formatting is not the model’s job to remember.
approval_wait: DurationHow long a call waits for a person before it is denied as expired
([approvals] wait, default 7 days).
attest: AttestConfig[attest].
instructions: Vec<String>[context] instructions: the file names read per directory as the
repository’s instructions for agents; empty: none.
Trait Implementations§
impl Eq for RunConfig
impl StructuralPartialEq for RunConfig
Auto Trait Implementations§
impl Freeze for RunConfig
impl RefUnwindSafe for RunConfig
impl Send for RunConfig
impl Sync for RunConfig
impl Unpin for RunConfig
impl UnsafeUnpin for RunConfig
impl UnwindSafe for RunConfig
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.