MCPcopy Index your code
hub / github.com/geekcomputers/Python / memory_context

Function memory_context

JARVIS/memory.py:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40
41
42def memory_context():
43 memory = load_memory()
44 if not memory:
45 return "No saved memory yet."
46 return "\n".join(f"- {item}" for item in memory[-10:])
47

Callers 1

ask_modelFunction · 0.85

Calls 1

load_memoryFunction · 0.85

Tested by

no test coverage detected