MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / new

Method new

examples/memory-copilot/explainable_memory.rs:89–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88impl MemoryCopilot {
89 pub fn new() -> Self {
90 Self {
91 episodes: HashMap::new(),
92 entities: HashMap::new(),
93 causal_edges: Vec::new(),
94 }
95 }
96
97 /// Add an episode to memory
98 pub fn add_episode(&mut self, mut episode: Episode) -> Result<(), String> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected