AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Changes string_key_memory to permanent_memory.
Toran Bruce Richards962fc9a42a8d
diff --git a/scripts/commands.py b/scripts/commands.pyindex 2adb84cf50..f0e5911e86 100644--- a/scripts/commands.py+++ b/scripts/commands.py@@ -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] = stringprint(_text)return _textelse: