Added double_check logging to AI Settings validator, and updated README for 'no_memory'
parent
6702a04f76
commit
4f923ece60
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue