mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
Wipe local memory on load
This commit is contained in:
committed by
GitHub
parent
2db7f0815e
commit
9e139fb314
@@ -31,6 +31,8 @@ def get_memory(cfg, init=False):
|
||||
|
||||
if memory is None:
|
||||
memory = LocalCache(cfg)
|
||||
if init:
|
||||
memory.clear()
|
||||
return memory
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user