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.
Makes it clearer to the AI exactly what memories are.
Toran Bruce Richardsd8410d9ca308
diff --git a/scripts/chat.py b/scripts/chat.pyindex 8da074c6bf..5ab52f993e 100644--- a/scripts/chat.py+++ b/scripts/chat.py@@ -27,7 +27,7 @@ def generate_context(prompt, relevant_memory, full_message_history, model):current_context = [create_chat_message("system", prompt), create_chat_message(- "system", f"Permanent memory: {relevant_memory}")]+ "system", f"This reminds you of these events from your past:\n{relevant_memory}\n\n")]# Add messages from the full message history until we reach the token limitnext_message_to_add_index = len(full_message_history) - 1