Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ save_memory
Function
save_memory
JARVIS/memory.py:20–24 ·
view source on GitHub ↗
(items)
Source
from the content-addressed store, hash-verified
18
19
20
def
save_memory(items):
21
MEMORY_FILE.write_text(
22
json.dumps(items[-MAX_MEMORY_ITEMS:], ensure_ascii=False, indent=2),
23
encoding=
"utf-8"
,
24
)
25
26
27
def
clear_memory():
Callers
2
clear_memory
Function · 0.85
remember_note
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected