pub struct CallNode {
pub agent: AgentRef,
pub retries: u32,
pub on_fail: Option<OnFail>,
pub output: Option<String>,
pub with: Vec<String>,
pub as_identity: Option<String>,
pub plugin_dirs: Vec<String>,
pub timeout: Option<String>,
pub max_turns: Option<u32>,
}Fields§
§agent: AgentRef§retries: u32§on_fail: Option<OnFail>§output: Option<String>Optional output schema reference for structured output.
with: Vec<String>Prompt snippet references to append to the agent prompt.
as_identity: Option<String>Named GitHub App bot identity to use for this call (matches [github.apps.<name>]).
plugin_dirs: Vec<String>Per-step plugin directories from the .wf file. Merged with repo-level
extra_plugin_dirs at execution time to give this agent access to
specialist plugins (e.g. /usr/local/bsg/agent-architecture/planner).
timeout: Option<String>Optional per-step timeout (e.g. “5m”, “30s”, “1h”). If the step does not
complete within this duration it is cancelled with CancellationReason::Timeout.
max_turns: Option<u32>Optional per-step host-enforced turn cap. Overrides the workflow-level default.
None defers to DEFAULT_MAX_TURNS applied by the executor.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallNode
impl<'de> Deserialize<'de> for CallNode
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
Auto Trait Implementations§
impl Freeze for CallNode
impl RefUnwindSafe for CallNode
impl Send for CallNode
impl Sync for CallNode
impl Unpin for CallNode
impl UnsafeUnpin for CallNode
impl UnwindSafe for CallNode
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