pub struct SaveMemoryArgs {
pub history_entry: String,
pub memory_update: Option<String>,
}Expand description
Arguments for the save_memory tool.
The LLM provides both pieces in a single call:
history_entry: A summary to append to HISTORY.mdmemory_update: The full new content for MEMORY.md (or None to skip)
Fields§
§history_entry: StringTimestamped summary to append to HISTORY.md.
memory_update: Option<String>Full updated MEMORY.md content (optional). If provided, replaces the entire file. If None, MEMORY.md is not modified.
Trait Implementations§
Source§impl Clone for SaveMemoryArgs
impl Clone for SaveMemoryArgs
Source§fn clone(&self) -> SaveMemoryArgs
fn clone(&self) -> SaveMemoryArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SaveMemoryArgs
impl Debug for SaveMemoryArgs
Source§impl<'de> Deserialize<'de> for SaveMemoryArgs
impl<'de> Deserialize<'de> for SaveMemoryArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SaveMemoryArgs
impl RefUnwindSafe for SaveMemoryArgs
impl Send for SaveMemoryArgs
impl Sync for SaveMemoryArgs
impl Unpin for SaveMemoryArgs
impl UnsafeUnpin for SaveMemoryArgs
impl UnwindSafe for SaveMemoryArgs
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