From cff6f66bd88c3689aaf958ba13fd0b837a11cd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BC=9F=E9=9F=AC?= Date: Fri, 27 Sep 2024 21:47:33 +0800 Subject: [PATCH] fix typo --- metagpt/prompts/di/role_zero.py | 7 +------ metagpt/tools/libs/editor.py | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) 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: