Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Forethought-Technologies/AutoChain
/ clear
Method
clear
autochain/memory/buffer_memory.py:37–40 ·
view source on GitHub ↗
Clear memory contents.
(self)
Source
from the content-addressed store, hash-verified
35
)
36
37
def
clear(self) -> None:
38
""
"Clear memory contents."
""
39
self.conversation_history.clear()
40
self.kv_memory = {}
Callers
2
test_buffer_kv_memory
Function · 0.95
test_buffer_conversation_memory
Function · 0.95
Calls
no outgoing calls
Tested by
2
test_buffer_kv_memory
Function · 0.76
test_buffer_conversation_memory
Function · 0.76