pub struct WorkflowRunner {
pub constitution: Arc<Constitution>,
pub audit: Arc<AuditStore>,
pub model_router: Option<Arc<ModelRouter>>,
}Expand description
Workflow execution engine.
Fields§
§constitution: Arc<Constitution>§audit: Arc<AuditStore>§model_router: Option<Arc<ModelRouter>>Implementations§
Source§impl WorkflowRunner
impl WorkflowRunner
pub fn new(constitution: Arc<Constitution>, audit: Arc<AuditStore>) -> Self
Sourcepub fn with_model_router(self, router: Arc<ModelRouter>) -> Self
pub fn with_model_router(self, router: Arc<ModelRouter>) -> Self
Create a runner with a model router for AI-powered steps.
Auto Trait Implementations§
impl Freeze for WorkflowRunner
impl !RefUnwindSafe for WorkflowRunner
impl Send for WorkflowRunner
impl Sync for WorkflowRunner
impl Unpin for WorkflowRunner
impl UnsafeUnpin for WorkflowRunner
impl !UnwindSafe for WorkflowRunner
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