pub struct DefaultPipeline { /* private fields */ }Expand description
Default pipeline: ToolPolicy hooks + timeout + output truncation.
Implementations§
Trait Implementations§
Source§impl Clone for DefaultPipeline
impl Clone for DefaultPipeline
Source§fn clone(&self) -> DefaultPipeline
fn clone(&self) -> DefaultPipeline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ToolExecutionPipeline for DefaultPipeline
impl ToolExecutionPipeline for DefaultPipeline
fn execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
tool: &'life1 dyn Tool,
args: &'life2 Value,
ctx: &'life3 ToolContext,
) -> Pin<Box<dyn Future<Output = AgentResult<ToolOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultPipeline
impl !UnwindSafe for DefaultPipeline
impl Freeze for DefaultPipeline
impl Send for DefaultPipeline
impl Sync for DefaultPipeline
impl Unpin for DefaultPipeline
impl UnsafeUnpin for DefaultPipeline
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