pub struct ToolExecutorOptions {
pub before: Vec<Arc<dyn ToolBatchProcessor>>,
pub after: Vec<Arc<dyn ToolBatchProcessor>>,
pub call_timeout: Option<Duration>,
pub artifact_store: Option<Arc<dyn ArtifactStore>>,
}Expand description
Fixed processing configuration received when constructing an executor.
Fields§
§before: Vec<Arc<dyn ToolBatchProcessor>>Ordered processors invoked before tool dispatch.
after: Vec<Arc<dyn ToolBatchProcessor>>Ordered processors invoked after every call has a result.
call_timeout: Option<Duration>Optional local timeout, started when each tool call actually begins.
artifact_store: Option<Arc<dyn ArtifactStore>>Optional host storage passed to tools and dynamic-source bridges.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ToolExecutorOptions
impl !UnwindSafe for ToolExecutorOptions
impl Freeze for ToolExecutorOptions
impl Send for ToolExecutorOptions
impl Sync for ToolExecutorOptions
impl Unpin for ToolExecutorOptions
impl UnsafeUnpin for ToolExecutorOptions
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