diff --git a/autogpts/autogpt/README.md b/autogpts/autogpt/README.md index d46f2cc2..86e0aa69 100644 --- a/autogpts/autogpt/README.md +++ b/autogpts/autogpt/README.md @@ -34,7 +34,7 @@ see the [setup guide][docs/setup]. ## Running AutoGPT The CLI should be self-documenting: ```shell -$ ./run.sh --help +$ ./autogpt.sh --help Usage: python -m autogpt [OPTIONS] COMMAND [ARGS]... Options: @@ -48,13 +48,13 @@ When run without a sub-command, it will default to `run` for legacy reasons.
-$ ./run.sh run --help +$ ./autogpt.sh run --help The `run` sub-command starts AutoGPT with the legacy CLI interface: ```shell -$ ./run.sh run --help +$ ./autogpt.sh run --help Usage: python -m autogpt run [OPTIONS] Sets up and runs an agent, based on the task specified by the user, or @@ -105,13 +105,13 @@ Options:
-$ ./run.sh serve --help +$ ./autogpt.sh serve --help The `serve` sub-command starts AutoGPT wrapped in an Agent Protocol server: ```shell -$ ./run.sh serve --help +$ ./autogpt.sh serve --help Usage: python -m autogpt serve [OPTIONS] Starts an Agent Protocol compliant AutoGPT server, which creates a custom diff --git a/autogpts/autogpt/run.bat b/autogpts/autogpt/autogpt.bat similarity index 100% rename from autogpts/autogpt/run.bat rename to autogpts/autogpt/autogpt.bat diff --git a/autogpts/autogpt/run.sh b/autogpts/autogpt/autogpt.sh similarity index 100% rename from autogpts/autogpt/run.sh rename to autogpts/autogpt/autogpt.sh diff --git a/autogpts/autogpt/run_continuous.bat b/autogpts/autogpt/run_continuous.bat deleted file mode 100644 index 812aa01c..00000000 --- a/autogpts/autogpt/run_continuous.bat +++ /dev/null @@ -1,3 +0,0 @@ -@echo off -set argument=--continuous -call run.bat %argument% diff --git a/autogpts/autogpt/run_continuous.sh b/autogpts/autogpt/run_continuous.sh deleted file mode 100755 index 1f4436c8..00000000 --- a/autogpts/autogpt/run_continuous.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -./run.sh --continuous $@ diff --git a/docs/content/AutoGPT/setup/index.md b/docs/content/AutoGPT/setup/index.md index 4b18f074..2bf6724f 100644 --- a/docs/content/AutoGPT/setup/index.md +++ b/docs/content/AutoGPT/setup/index.md @@ -97,7 +97,7 @@ Once you have cloned or downloaded the project, you can find the AutoGPT Agent i 8. _Optional: run `poetry install` to install all required dependencies._ The application also checks for and installs any required dependencies when it starts. -You should now be able to explore the CLI (`./run.sh --help`) and run the application. +You should now be able to explore the CLI (`./autogpt.sh --help`) and run the application. See the [user guide](../usage.md) for further instructions. diff --git a/docs/content/AutoGPT/share-your-logs.md b/docs/content/AutoGPT/share-your-logs.md index 9fc6fef3..3f4139ce 100644 --- a/docs/content/AutoGPT/share-your-logs.md +++ b/docs/content/AutoGPT/share-your-logs.md @@ -9,9 +9,9 @@ Activity, Error, and Debug logs are located in `./logs` To print out debug logs: ```shell -./run.sh --debug # on Linux / macOS +./autogpt.sh --debug # on Linux / macOS -.\run.bat --debug # on Windows +.\autogpt.bat --debug # on Windows docker-compose run --rm auto-gpt --debug # in Docker ``` diff --git a/docs/content/AutoGPT/usage.md b/docs/content/AutoGPT/usage.md index 2229771d..e1f5bd8c 100644 --- a/docs/content/AutoGPT/usage.md +++ b/docs/content/AutoGPT/usage.md @@ -6,11 +6,11 @@ ## Command Line Interface -Running `./run.sh` (or any of its subcommands) with `--help` lists all the possible +Running `./autogpt.sh` (or any of its subcommands) with `--help` lists all the possible sub-commands and arguments you can use: ```shell -$ ./run.sh --help +$ ./autogpt.sh --help Usage: python -m autogpt [OPTIONS] COMMAND [ARGS]... Options: @@ -22,7 +22,7 @@ Commands: ``` !!! important "For Windows users" - On Windows, use `.\run.bat` instead of `./run.sh`. + On Windows, use `.\autogpt.bat` instead of `./autogpt.sh`. Everything else (subcommands, arguments) should work the same. !!! info "Usage with Docker" @@ -40,11 +40,11 @@ The `run` sub-command starts AutoGPT with the legacy CLI interface.
-./run.sh run --help +./autogpt.sh run --help ```shell -$ ./run.sh run --help +$ ./autogpt.sh run --help Usage: python -m autogpt run [OPTIONS] Sets up and runs an agent, based on the task specified by the user, or @@ -96,7 +96,7 @@ This means you can *resume* agents at a later time. See also [agent state]. !!! note For legacy reasons, the CLI will default to the `run` subcommand when none is - specified: running `./run.sh run [OPTIONS]` does the same as `./run.sh [OPTIONS]`, + specified: running `./autogpt.sh run [OPTIONS]` does the same as `./autogpt.sh [OPTIONS]`, but this may change in the future. #### 💀 Continuous Mode ⚠️ @@ -107,7 +107,7 @@ It is potentially dangerous and may cause your AI to run forever or carry out ac Use at your own risk. ```shell -./run.sh --continuous +./autogpt.sh --continuous ``` To exit the program, press ++ctrl+c++ @@ -119,11 +119,11 @@ frontend, by default on `http://localhost:8000`.
-./run.sh serve --help +./autogpt.sh serve --help ```shell -$ ./run.sh serve --help +$ ./autogpt.sh serve --help Usage: python -m autogpt serve [OPTIONS] Starts an Agent Protocol compliant AutoGPT server, which creates a custom @@ -163,18 +163,18 @@ Here are some common arguments you can use when running AutoGPT: * Run AutoGPT with a different AI Settings file ```shell - ./run.sh --ai-settings + ./autogpt.sh --ai-settings ``` * Run AutoGPT with a different Prompt Settings file ```shell - ./run.sh --prompt-settings + ./autogpt.sh --prompt-settings ``` !!! note There are shorthands for some of these flags, for example `-P` for `--prompt-settings`. - Use `./run.sh --help` for more information. + Use `./autogpt.sh --help` for more information. [.env.template]: https://github.com/Significant-Gravitas/AutoGPT/tree/master/autogpts/autogpt/.env.template @@ -200,7 +200,7 @@ Activity, Error, and Debug logs are located in `logs`. To print out debug logs: ```shell -./run.sh --debug +./autogpt.sh --debug ``` ## Disabling Command Categories