Skip to content

Commit

Permalink
Document Disabling command categories (#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 May 4, 2023
1 parent d2a9e54 commit 911cea7
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
```

1 comment on commit 911cea7

@vercel
Copy link

@vercel vercel bot commented on 911cea7 May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.