This commit is contained in:
黄伟韬 2024-09-27 21:47:33 +08:00
parent 1a937e9152
commit cff6f66bd8
2 changed files with 2 additions and 7 deletions

View file

@ -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}

View file

@ -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: