MCPcopy Create free account
hub / github.com/AI45Lab/Code / memory

Method memory

core/src/agent_api.rs:926–928  ·  view source on GitHub ↗

Return a reference to the session's memory, if configured.

(&self)

Source from the content-addressed store, hash-verified

924
925 /// Return a reference to the session's memory, if configured.
926 pub fn memory(&self) -> Option<&Arc<crate::memory::AgentMemory>> {
927 SessionView::from_session(self).memory()
928 }
929
930 /// Return the session ID.
931 pub fn id(&self) -> &str {

Callers 15

has_memoryMethod · 0.45
remember_successMethod · 0.45
remember_failureMethod · 0.45
recall_similarMethod · 0.45
recall_by_tagsMethod · 0.45
memory_recentMethod · 0.45
memory_statsMethod · 0.45
get_workingMethod · 0.45
clear_workingMethod · 0.45
get_short_termMethod · 0.45
clear_short_termMethod · 0.45
has_memoryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected