MCPcopy Index your code
hub / github.com/AI45Lab/Code / clear_working

Method clear_working

core/src/memory.rs:250–252  ·  view source on GitHub ↗

Clear working memory

(&self)

Source from the content-addressed store, hash-verified

248
249 /// Clear working memory
250 pub async fn clear_working(&self) {
251 self.working.write().await.clear();
252 }
253
254 /// Get short-term memory
255 pub async fn get_short_term(&self) -> Vec<MemoryItem> {

Callers 1

Calls 2

writeMethod · 0.80
clearMethod · 0.45

Tested by 1