pub struct ContextRecallStore { /* private fields */ }Expand description
A per-run store of tool outputs, keyed by tool_call_id.
Implementations§
Source§impl ContextRecallStore
impl ContextRecallStore
Sourcepub async fn index(&self, tool_call_id: &str, tool_name: &str, content: &str)
pub async fn index(&self, tool_call_id: &str, tool_name: &str, content: &str)
Index a tool result so it can later be restored by id or found by query.
Best-effort: a store error is swallowed (recall is a convenience, not a
correctness dependency).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ContextRecallStore
impl !RefUnwindSafe for ContextRecallStore
impl Send for ContextRecallStore
impl Sync for ContextRecallStore
impl Unpin for ContextRecallStore
impl UnsafeUnpin for ContextRecallStore
impl UnwindSafe for ContextRecallStore
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