Skip to content

Commit

Permalink
Fix formatting of plugin commands in PromptGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts authored Aug 24, 2023
1 parent e153ae2 commit 7285f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt/prompts/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,6 @@ def list_commands(self, agent: BaseAgent) -> str:
]

# 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)

0 comments on commit 7285f7d

Please sign in to comment.