mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-22 08:24:26 +01:00
Added double_check logging to AI Settings validator, and updated README for 'no_memory'
This commit is contained in:
@@ -137,9 +137,9 @@ python scripts/main.py --debug
|
|||||||
### Command Line Arguments
|
### Command Line Arguments
|
||||||
Here are some common arguments you can use when running Auto-GPT:
|
Here are some common arguments you can use when running Auto-GPT:
|
||||||
> Replace anything in angled brackets (<>) to a value you want to specify
|
> 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 --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
|
> **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)
|
(validated, message) = utils.validate_yaml_file(file)
|
||||||
if not validated:
|
if not validated:
|
||||||
logger.typewriter_log("FAILED FILE VALIDATION", Fore.RED, message)
|
logger.typewriter_log("FAILED FILE VALIDATION", Fore.RED, message)
|
||||||
|
logger.double_check()
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
logger.typewriter_log("Using AI Settings File:", Fore.GREEN, file)
|
logger.typewriter_log("Using AI Settings File:", Fore.GREEN, file)
|
||||||
|
|||||||
Reference in New Issue
Block a user