Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix typo

黄伟韬cff6f66bd88c
diff --git a/metagpt/prompts/di/role_zero.py b/metagpt/prompts/di/role_zero.py
index aea00934c..2ccb2bed0 100644
--- a/metagpt/prompts/di/role_zero.py
+++ b/metagpt/prompts/di/role_zero.py
@@ -119,12 +119,7 @@ END_COMMAND = """
```
"""
-SUMMARY_PROBLEM_WHEN_DUPLICATE = """
-You has meet a problem and cause duplicate command.
-Please directly tell me what is confusing or troubling you.
-Do Not output any command.
-Ouput you problem in {language} and within 30 words.
-"""
+SUMMARY_PROBLEM_WHEN_DUPLICATE = """You has meet a problem and cause duplicate command.Please directly tell me what is confusing or troubling you. Do Not output any command.Ouput you problem in {language} and within 30 words."""
ASK_HUMAN_GUIDANCE_FORMAT = """
I am facing the following problem:
{problem}
diff --git a/metagpt/tools/libs/editor.py b/metagpt/tools/libs/editor.py
index 5391ff48a..5009821f8 100644
--- a/metagpt/tools/libs/editor.py
+++ b/metagpt/tools/libs/editor.py
@@ -937,7 +937,7 @@ class Editor(BaseModel):
Args:
file_name: (str): The name of the file to edit.
- line_number (int): The line number (starting from 1) to insert the content after.the insert content will be add between the line of line_number-1 and line_number
+ line_number (int): The line number (starting from 1) to insert the content after. The insert content will be add between the line of line_number-1 and line_number
insert_content (str): The content to insert betweed the previous_line_content and current_line_content.The insert_content must be a complete block of code at.
NOTE: