pub struct ReliableInteractionTool { /* private fields */ }Expand description
Wraps an interaction tool to (1) force includeSnapshot:true and (2) retry
once on a stale-uid error.
Implementations§
Trait Implementations§
Source§impl Tool for ReliableInteractionTool
impl Tool for ReliableInteractionTool
Source§fn definition(&self) -> ToolDefinition
fn definition(&self) -> ToolDefinition
Return the tool’s definition (name, description, input schema) for the LLM.
Auto Trait Implementations§
impl !RefUnwindSafe for ReliableInteractionTool
impl !UnwindSafe for ReliableInteractionTool
impl Freeze for ReliableInteractionTool
impl Send for ReliableInteractionTool
impl Sync for ReliableInteractionTool
impl Unpin for ReliableInteractionTool
impl UnsafeUnpin for ReliableInteractionTool
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