Provide command descriptions @return: (str) command descriptions
(self)
| 543 | ) |
| 544 | |
| 545 | def command_descriptions(self): |
| 546 | """ |
| 547 | Provide command descriptions |
| 548 | @return: (str) command descriptions |
| 549 | """ |
| 550 | cmd_strings = "\n".join([_cmd.docstring() for _cmd in self.commands]) |
| 551 | return f"\nYou also have access to tools which can be interacted with using the following structure: ```COMMAND\n<command information here>\n```, where COMMAND is whichever command you want to run (e.g. EDIT, REPLACE...), <command information here> is information used for the command, such as code to run or a search query, and ``` are meant to encapsulate the command. ``` must be included as part of the command both at the beginning and at the end of the code. DO NOT FORGOT TO HAVE ``` AT THE TOP AND BOTTOM OF CODE. and this structure must be followed to execute a command correctly. YOU CAN ONLY EXECUTE A SINGLE COMMAND AT A TIME! Do not try to perform multiple commands EVER only one. {self._common_code_errors()}" + cmd_strings |
| 552 | |
| 553 | def run_code(self): |
| 554 | """ |
no test coverage detected