Struct CommitMemoryRequest
Source pub struct CommitMemoryRequest {
pub trajectory_id: TrajectoryId,
pub scope_id: ScopeId,
pub query: String,
pub response: String,
pub mode: String,
pub agent_id: Option<AgentId>,
pub reasoning_trace: Option<Value>,
pub tools_invoked: Option<Vec<String>>,
pub tokens_input: Option<i64>,
pub tokens_output: Option<i64>,
}Expand description
Request to commit a memory interaction.
Fields§
§trajectory_id: TrajectoryId§scope_id: ScopeId§query: String§response: String§mode: String§agent_id: Option<AgentId>§reasoning_trace: Option<Value>§tools_invoked: Option<Vec<String>>§tokens_input: Option<i64>§tokens_output: Option<i64>Trait Implementations§
Source§impl Clone for CommitMemoryRequest
impl Clone for CommitMemoryRequest
Source§fn clone(&self) -> CommitMemoryRequest
fn clone(&self) -> CommitMemoryRequest
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 CommitMemoryRequest
impl Debug for CommitMemoryRequest
Auto Trait Implementations§
impl Freeze for CommitMemoryRequest
impl RefUnwindSafe for CommitMemoryRequest
impl Send for CommitMemoryRequest
impl Sync for CommitMemoryRequest
impl Unpin for CommitMemoryRequest
impl UnwindSafe for CommitMemoryRequest
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