Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix early abort

BillSchumacher83861883565d
diff --git a/autogpt/config/ai_config.py b/autogpt/config/ai_config.py
index c9022773fb..af387f0bdc 100644
--- a/autogpt/config/ai_config.py
+++ b/autogpt/config/ai_config.py
@@ -126,6 +126,8 @@ class AIConfig:
prompt_generator.role = self.ai_role
prompt_generator.command_registry = self.command_registry
for plugin in cfg.plugins:
+ if not plugin.can_handle_post_prompt():
+ continue
prompt_generator = plugin.post_prompt(prompt_generator)
# Construct full prompt