diff --git a/metagpt/roles/di/role_zero.py b/metagpt/roles/di/role_zero.py index 378e9db2c..94b21a76f 100644 --- a/metagpt/roles/di/role_zero.py +++ b/metagpt/roles/di/role_zero.py @@ -144,7 +144,8 @@ class RoleZero(Role): "goto_line", "insert_content_at_line", "open_file", - "read" "scroll_down", + "read", + "scroll_down", "scroll_up", "search_dir", "search_file", diff --git a/metagpt/tools/libs/linter.py b/metagpt/tools/libs/linter.py index 9f3ab7fd0..c8760a53b 100644 --- a/metagpt/tools/libs/linter.py +++ b/metagpt/tools/libs/linter.py @@ -1,3 +1,8 @@ +""" +This file is borrowed from OpenDevin +You can find the original repository here: +https://github.com/All-Hands-AI/OpenHands/blob/main/openhands/runtime/plugins/agent_skills/utils/aider/linter.py +""" import os import subprocess import sys