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.

Added double_check logging to AI Settings validator, and updated README for 'no_memory'

Eesa Hamza4f923ece60ba
diff --git a/README.md b/README.md
index 8d402e7d69..b55a80c562 100644
--- a/README.md
+++ b/README.md
@@ -137,9 +137,9 @@ python scripts/main.py --debug
### Command Line Arguments
Here are some common arguments you can use when running Auto-GPT:
> Replace anything in angled brackets (<>) to a value you want to specify
-* `python scripts/main.py --help` to see a list of all available command line arguments
+* `python scripts/main.py --help` to see a list of all available command line arguments.
* `python scripts/main.py --ai-settings <filename>` to run Auto-GPT with a different AI Settings file.
-* `python scripts/main.py --use-memory <memory-backend>` to specify one of 3 memory backends: `local`, `redis` or `pinecone`
+* `python scripts/main.py --use-memory <memory-backend>` to specify one of 3 memory backends: `local`, `redis`, `pinecone` or 'no_memory'.
> **NOTE**: There are shorthands for some of these flags, for example `-m` for `--use-memory`. Use `python scripts/main.py --help` for more information
diff --git a/scripts/main.py b/scripts/main.py
index 400eb1f638..78ffe2430a 100644
--- a/scripts/main.py
+++ b/scripts/main.py
@@ -348,6 +348,7 @@ def parse_arguments():
(validated, message) = utils.validate_yaml_file(file)
if not validated:
logger.typewriter_log("FAILED FILE VALIDATION", Fore.RED, message)
+ logger.double_check()
exit(1)
logger.typewriter_log("Using AI Settings File:", Fore.GREEN, file)