From 911cea781f19162dc9810372ba5885aab25e0fa5 Mon Sep 17 00:00:00 2001 From: Nicholas Tindle Date: Wed, 3 May 2023 19:14:07 -0500 Subject: [PATCH] Document Disabling command categories (#3669) * feat: move task_complete command out of prompt * fix: formatting fixes * feat: add command disabling * docs: document how to disable command categories --- docs/usage.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/usage.md b/docs/usage.md index 80fa7985c509..4a0c88705d28 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -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 +```