pub struct InvocationTemplate {
pub args: &'static [&'static str],
pub prompt_via_stdin: bool,
}Expand description
How a discovered agent should be wired into a runnable delegate.
Defaults here are best-effort from public CLI conventions — users with unusual flags can override args/stdin through config.
Fields§
§args: &'static [&'static str]Args passed to the binary. {prompt} and {task_id} are
substituted at spawn time.
prompt_via_stdin: boolWhether the rendered prompt is written to the child’s stdin
instead of being templated into args.
Trait Implementations§
Source§impl Clone for InvocationTemplate
impl Clone for InvocationTemplate
Auto Trait Implementations§
impl Freeze for InvocationTemplate
impl RefUnwindSafe for InvocationTemplate
impl Send for InvocationTemplate
impl Sync for InvocationTemplate
impl Unpin for InvocationTemplate
impl UnsafeUnpin for InvocationTemplate
impl UnwindSafe for InvocationTemplate
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