pub struct RunTaskParams {
pub agent: String,
pub task: String,
pub project: PathBuf,
pub agents_dir: PathBuf,
pub engineer_model: Option<String>,
pub deadline_secs: Option<u64>,
}Expand description
Inputs to a single run-task invocation, parsed from the CLI.
Why: Bundling the inputs keeps execute_run_task’s signature stable as flags
are added and lets the binary layer construct one value from clap.
What: agent is the top-level (PM) agent name; task is the request; project
is the canonical project root; agents_dir is where <agent>.toml live;
engineer_model is the optional per-run engineer model override (#1035).
Test: run_task::tests build these directly.
Fields§
§agent: StringTop-level agent name (typically "pm").
task: StringFree-form task description.
project: PathBufCanonical project root.
agents_dir: PathBufDirectory holding <agent>.toml configs.
engineer_model: Option<String>Optional per-run engineer model override (#1035). None routes the
engineer via its own config model.
deadline_secs: Option<u64>Optional per-run wall-clock deadline override, in seconds (#2207).
None falls through to crate::provider::resolve_deadline_secs’s
env-var/default tiers — see that function’s docs for the full
precedence. Applied to BOTH the PM’s own loop and the delegated
engineer’s loop (build_engineer_runner).
Trait Implementations§
Source§impl Clone for RunTaskParams
impl Clone for RunTaskParams
Source§fn clone(&self) -> RunTaskParams
fn clone(&self) -> RunTaskParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for RunTaskParams
impl RefUnwindSafe for RunTaskParams
impl Send for RunTaskParams
impl Sync for RunTaskParams
impl Unpin for RunTaskParams
impl UnsafeUnpin for RunTaskParams
impl UnwindSafe for RunTaskParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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