mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 02:46:24 +02:00
fix typo
This commit is contained in:
parent
d6adc24635
commit
3ee4bf94a8
2 changed files with 1 additions and 2 deletions
|
|
@ -871,7 +871,7 @@ class Editor(BaseModel):
|
|||
return ret_str
|
||||
|
||||
def insert_content_at_line(self, file_name: str, line_number: int, insert_content: str) -> str:
|
||||
"""Insert a complete block of code before the given line number in a file That is, the new content will start at the beginning of the specified line, and the existing content of that line will be moved down.
|
||||
"""Insert a complete block of code before the given line number in a file. That is, the new content will start at the beginning of the specified line, and the existing content of that line will be moved down.
|
||||
This operation will NOT modify the content of the lines before or after the given line number.
|
||||
This function can not insert content the end of the file. Please use append_file instead,
|
||||
For example, if the file has the following content:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue