pub struct StaticToolStrategy { /* private fields */ }Expand description
v0: hand-picked fixed list of tools.
Implementations§
Trait Implementations§
Source§impl ToolStrategy for StaticToolStrategy
impl ToolStrategy for StaticToolStrategy
fn select<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 AgentContext,
_budget: &'life2 mut TokenBudget,
) -> Pin<Box<dyn Future<Output = Result<Vec<ToolRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for StaticToolStrategy
impl !RefUnwindSafe for StaticToolStrategy
impl Send for StaticToolStrategy
impl Sync for StaticToolStrategy
impl Unpin for StaticToolStrategy
impl UnsafeUnpin for StaticToolStrategy
impl !UnwindSafe for StaticToolStrategy
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