Merge branch 'fix/editor_replace_empty_file' into 'mgx_ops'

fix:SQL语法检测失败 ;Editor 对空文件执行替换失败。

See merge request pub/MetaGPT!375
This commit is contained in:
林义章 2024-09-12 02:26:11 +00:00
commit 4dd51dedb7
4 changed files with 28 additions and 3 deletions

View file

@ -79,6 +79,7 @@ class RoleZero(Role):
"Editor.edit_file_by_replace",
"Editor.insert_content_at_line",
"Editor.append_file",
"Editor.open_file",
]
# Equipped with three basic tools by default for optional use
editor: Editor = Editor(enable_auto_lint=True)