From 51e293f64cf17efbbba18965037a8004387945a6 Mon Sep 17 00:00:00 2001 From: Toran Bruce Richards Date: Mon, 3 Apr 2023 15:46:46 +0100 Subject: [PATCH] Adds --gpt3only mode! --- README.md | 7 ++++++- scripts/main.py | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 769ea76665..913731dd40 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,6 @@ Run the AI **without** user authorisation, 100% automated. Continuous mode is not recommended. It is potentially dangerous and may cause your AI to run forever or carry out actions you would not usually authorise. Use at your own risk. - 1. Run the `main.py` Python script in your terminal: ``` python scripts/main.py --continuous @@ -113,6 +112,12 @@ python scripts/main.py --continuous ``` 2. To exit the program, press Ctrl + C +## GPT3.5 ONLY Mode +If you don't have access to the GPT4 api, this mode will allow you to use Auto-GPT! +``` +python scripts/main.py --gpt3only +``` + ## ⚠️ Limitations This experiment aims to showcase the potential of GPT-4 but comes with some limitations: diff --git a/scripts/main.py b/scripts/main.py index 1ccd036442..4e79974369 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -253,6 +253,8 @@ def parse_arguments(): parser = argparse.ArgumentParser(description='Process arguments.') parser.add_argument('--continuous', action='store_true', help='Enable Continuous Mode') parser.add_argument('--speak', action='store_true', help='Enable Speak Mode') + parser.add_argument('--debug', action='store_true', help='Enable Debug Mode') + parser.add_argument('--gpt3only', action='store_true', help='Enable GPT3.5 Only Mode') args = parser.parse_args() if args.continuous: @@ -267,7 +269,9 @@ def parse_arguments(): print_to_console("Speak Mode: ", Fore.GREEN, "ENABLED") cfg.set_speak_mode(True) - + if args.gpt3only: + print_to_console("GPT3.5 Only Mode: ", Fore.GREEN, "ENABLED") + cfg.set_smart_llm_model(cfg.fast_llm_model) # TODO: fill in llm values here