Skip to content

Commit

Permalink
Document Disabling command categories (Significant-Gravitas#3669)
Browse files Browse the repository at this point in the history
* feat: move task_complete command out of prompt

* fix: formatting fixes

* feat: add command disabling

* docs: document how to disable command categories
  • Loading branch information
ntindle authored and dschonholtz committed May 6, 2023
1 parent 3bd2222 commit 5d61311
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ To print out debug logs:
``` shell
./run.sh --debug
```

## Disabling Command Categories

If you want to selectively disable some command groups, you can use the `DISABLED_COMMAND_CATEGORIES` config in your `.env`. You can find the list of categories in your `.env.template`

For example, to disable coding related features, set it to the value below:

```ini
DISABLED_COMMAND_CATEGORIES=autogpt.commands.analyze_code,autogpt.commands.execute_code,autogpt.commands.git_operations,autogpt.commands.improve_code,autogpt.commands.write_tests
```

0 comments on commit 5d61311

Please sign in to comment.