mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Changes string_key_memory to permanent_memory.
Fixes: ```Command memory_ovr returned: Error: module 'memory' has no attribute 'string_key_memory'```
This commit is contained in:
committed by
GitHub
parent
b418861d70
commit
962fc9a42a
@@ -218,7 +218,7 @@ def overwrite_memory(key, string):
|
||||
elif isinstance(key, str):
|
||||
_text = "Overwriting memory with key " + key + " and string " + string
|
||||
# Overwrite the memory slot with the given string key and string
|
||||
mem.string_key_memory[key] = string
|
||||
mem.permanent_memory[key] = string
|
||||
print(_text)
|
||||
return _text
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user