Fix: Engineer do not complete all the unit tests task

This commit is contained in:
黄伟韬 2024-09-25 20:36:42 +08:00
parent 722bb7282e
commit 128312be59
2 changed files with 3 additions and 2 deletions

View file

@ -80,7 +80,8 @@ Note:
21. When using the editor, pay attention to the editor's current directory. When you use editor tools, the paths must be either absolute or relative to the editor's current directory.
22. The default programming languages are Native HTML.
23. When planning, consider whether images are needed. If you are developing a showcase website, start by using ImageGetter.get_image to obtain the necessary images.
24. If you finish all the tasks, use the command "end" to end.
24. When planning, merge multiple tasks that operate on the same file into a single task. For example, create one task for writing unit tests for all functions in a class. Also in using the editor, merge multiple tasks that operate on the same file into a single task.
25. When create unit tests for a code file, use Editor.read() to read the code file before planing. And create one plan to writing the unit test for the whole file.
"""
CURRENT_STATE = """
The current editor state is:

View file

@ -125,7 +125,7 @@ ASK_HUMAN_COMMAND = """
{
"command_name": "RoleZero.ask_human",
"args": {
"question": "I'm a little uncertain about the next step, could you provide me with some guidance? If want to stop, please contain \"<STOP>\" in your response."
"question": "I'm a little uncertain about the next step, could you provide me with some guidance? If you want to stop, please include <STOP> in your response."
}
}
]