pub struct LocalDurableRunOptions {
pub script_path: PathBuf,
pub args: Value,
pub agent_provider: Arc<dyn AgentProvider>,
pub model_map: BTreeMap<String, String>,
pub budget_total: Option<u64>,
pub max_parallel_agent_requests: Option<usize>,
pub resume_run_id: Option<String>,
pub cancel_rx: Option<Receiver<bool>>,
pub event_sink: Option<Arc<dyn WorkflowEventSink>>,
pub session_log_sink: Option<Arc<dyn AgentSessionLogSink>>,
}Expand description
Options for a local durable workflow run.
Fields§
§script_path: PathBuf§args: Value§agent_provider: Arc<dyn AgentProvider>§model_map: BTreeMap<String, String>§budget_total: Option<u64>§max_parallel_agent_requests: Option<usize>§resume_run_id: Option<String>§cancel_rx: Option<Receiver<bool>>§event_sink: Option<Arc<dyn WorkflowEventSink>>§session_log_sink: Option<Arc<dyn AgentSessionLogSink>>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LocalDurableRunOptions
impl !UnwindSafe for LocalDurableRunOptions
impl Freeze for LocalDurableRunOptions
impl Send for LocalDurableRunOptions
impl Sync for LocalDurableRunOptions
impl Unpin for LocalDurableRunOptions
impl UnsafeUnpin for LocalDurableRunOptions
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