pub struct AgentCallStep {
pub agent_name: String,
pub arguments: Vec<String>,
pub loc: Loc,
}Expand description
v2.83.0 — <Agent>(arg, …) written as a step-body statement: the
form the README uses in every one of its agent examples, and the last piece
that makes v2.83.0’s executor reachable from source.
It is a distinct node rather than a reuse of ComputeApplyStep because
the two are opposites: a compute is a PURE function with no model in the
loop and no budget, and an agent is a bounded deliberation that spends. A
shared node would invite a shared handler, and the first person to add a
field would have to decide which of the two it meant.
Fields§
§agent_name: StringThe declared agent being invoked. A NAME — never dotted.
arguments: Vec<String>Positional arguments, each a v2.83.0 SUBJECT (a dotted reference or a
literal). README writes TrendAnalyzer(Gather.output).
loc: LocTrait Implementations§
Auto Trait Implementations§
impl Freeze for AgentCallStep
impl RefUnwindSafe for AgentCallStep
impl Send for AgentCallStep
impl Sync for AgentCallStep
impl Unpin for AgentCallStep
impl UnsafeUnpin for AgentCallStep
impl UnwindSafe for AgentCallStep
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