pub struct AgentInvocation {
pub role: AgentRole,
pub prompt: String,
pub working_dir: PathBuf,
pub max_turns: Option<u32>,
pub model: Option<String>,
}Expand description
An invocation ready to be sent to the process runner.
Fields§
§role: AgentRole§prompt: String§working_dir: PathBuf§max_turns: Option<u32>§model: Option<String>Auto Trait Implementations§
impl Freeze for AgentInvocation
impl RefUnwindSafe for AgentInvocation
impl Send for AgentInvocation
impl Sync for AgentInvocation
impl Unpin for AgentInvocation
impl UnsafeUnpin for AgentInvocation
impl UnwindSafe for AgentInvocation
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