pub enum StepKind {
Deterministic,
LlmAssisted,
}Expand description
Whether a step needs the LLM to execute it.
Mostly advisory today — the executor can fall back to an LLM call if a “deterministic” step errors in a way that needs reasoning.
Variants§
Deterministic
The action is fully specified; run it as-is. Example:
Navigate { url: "https://finance.yahoo.com/..." } or Wait.
LlmAssisted
The action’s parameters need to be filled in at execute time,
given the live perception and the history of prior attempts.
Example: an Extract whose selector depends on what the page
currently renders.
Trait Implementations§
impl Copy for StepKind
Source§impl<'de> Deserialize<'de> for StepKind
impl<'de> Deserialize<'de> for StepKind
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
impl Eq for StepKind
impl StructuralPartialEq for StepKind
Auto Trait Implementations§
impl Freeze for StepKind
impl RefUnwindSafe for StepKind
impl Send for StepKind
impl Sync for StepKind
impl Unpin for StepKind
impl UnsafeUnpin for StepKind
impl UnwindSafe for StepKind
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