pub enum TaskPath {
Fast,
Standard,
Heavy,
}Expand description
Workflow path — the agent tailors its runtime behaviour and prompt guidance to match the expected scope and risk of the task.
| Path | Typical task |
|---|---|
Fast | Single-file fix, clear bug, small config change |
Standard | Multi-file change, local restructure |
Heavy | New feature, cross-module refactor, 3+ steps |
The path adjusts iteration caps, timeouts, and concurrency defaults. It also injects matching behavioural guidance into the system prompt so the model knows whether to work directly or follow a fuller plan cycle.
Variants§
Fast
Single-file changes, clear bugs, small config — execute directly.
Standard
Multi-file changes, local restructures — map context, verify incrementally.
Heavy
New features, cross-module refactors — design, plan, execute in phases.
Trait Implementations§
impl Copy for TaskPath
impl Eq for TaskPath
impl StructuralPartialEq for TaskPath
Auto Trait Implementations§
impl Freeze for TaskPath
impl RefUnwindSafe for TaskPath
impl Send for TaskPath
impl Sync for TaskPath
impl Unpin for TaskPath
impl UnsafeUnpin for TaskPath
impl UnwindSafe for TaskPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.