pub struct AgentExecutorConfig { /* private fields */ }👎Deprecated since 0.24.0:
use flux_runtime::ExecutionEnvironment and AgentSpec::assemble_in; this shim is planned for removal in 0.26
Expand description
Surface-owned inputs used when AgentSpec constructs its guarded Executor.
Keeping the approval handler and dispatch context beside the mandatory authorization profile
makes the simple assembly door explicit without duplicating the broader executor builder that
richer surfaces use through AgentSpec::into_engine.
Implementations§
Source§impl AgentExecutorConfig
impl AgentExecutorConfig
Sourcepub fn new(
approver: Arc<dyn Approver>,
context: ToolContext,
authorization: ExecutionAuthorization,
) -> AgentExecutorConfig
pub fn new( approver: Arc<dyn Approver>, context: ToolContext, authorization: ExecutionAuthorization, ) -> AgentExecutorConfig
Bundle the surface’s approval posture, guarded tool context, and authorization floor.
Auto Trait Implementations§
impl !RefUnwindSafe for AgentExecutorConfig
impl !UnwindSafe for AgentExecutorConfig
impl Freeze for AgentExecutorConfig
impl Send for AgentExecutorConfig
impl Sync for AgentExecutorConfig
impl Unpin for AgentExecutorConfig
impl UnsafeUnpin for AgentExecutorConfig
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