mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-11 16:22:15 +02:00
Merge branch 'fix/editor_replace_empty_file' into 'mgx_ops'
fix:SQL语法检测失败 ;Editor 对空文件执行替换失败。 See merge request pub/MetaGPT!375
This commit is contained in:
commit
4dd51dedb7
4 changed files with 28 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue