Skip to content

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.

Fixes commit_memory printing string twice + improves formatting

Torantulino6dbe0fab7c12
diff --git a/AutonomousAI/commands.py b/AutonomousAI/commands.py
index bfbc8d070f..8d609d5d3f 100644
--- a/AutonomousAI/commands.py
+++ b/AutonomousAI/commands.py
@@ -89,9 +89,8 @@ def check_news(source):
return _text
def commit_memory(string):
- _text = "Committing memory with string " + string
+ _text = f"""Committing memory with string "{string}" """
mem.permanent_memory.append(string)
- print(_text)
return _text
def delete_memory(key):