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 formatting of plugin commands in `PromptGenerator`

Reinier van der Leer7285f7dad394
diff --git a/autogpt/prompts/generator.py b/autogpt/prompts/generator.py
index 8bc2f37876..6ca172825e 100644
--- a/autogpt/prompts/generator.py
+++ b/autogpt/prompts/generator.py
@@ -284,6 +284,6 @@ class PromptGenerator:
]
# Add commands from plugins etc.
- command_strings += [str(cmd) for cmd in self.commands]
+ command_strings += [str(cmd) for cmd in self.commands.values()]
return self._generate_numbered_list(command_strings)