()
| 87 | |
| 88 | impl 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> { |
nothing calls this directly
no outgoing calls
no test coverage detected