diff --git a/dev_config/python/mypy.ini b/dev_config/python/mypy.ini index cdbe39699a..a5fbc5305c 100644 --- a/dev_config/python/mypy.ini +++ b/dev_config/python/mypy.ini @@ -8,4 +8,4 @@ warn_redundant_casts = True no_implicit_optional = True strict_optional = True -exclude = agenthub/langchains_agent/regression \ No newline at end of file +exclude = agenthub/monologue_agent/regression \ No newline at end of file diff --git a/dev_config/python/ruff.toml b/dev_config/python/ruff.toml index c457587c9b..bceca9293a 100644 --- a/dev_config/python/ruff.toml +++ b/dev_config/python/ruff.toml @@ -1,3 +1,3 @@ exclude = [ - "agenthub/langchains_agent/regression/", + "agenthub/monologue_agent/regression/", ] \ No newline at end of file diff --git a/evaluation/regression/README.md b/evaluation/regression/README.md index 116bff4d22..67484a70b3 100644 --- a/evaluation/regression/README.md +++ b/evaluation/regression/README.md @@ -29,7 +29,7 @@ cases/ ├── hello-world/ │ ├── task.txt │ ├── outputs/ -│ │ ├── langchains_agent/ +│ │ ├── monologue_agent/ │ │ │ └── workspace/ │ │ │ ├── hello_world.sh │ │ └── codeact_agent/ @@ -39,7 +39,7 @@ cases/ ├── create_web_app/ │ ├── task.txt │ ├── outputs/ -│ │ ├── langchains_agent/ +│ │ ├── monologue_agent/ │ │ │ └── workspace/ │ │ │ ├── app.py │ │ │ ├── requirements.txt diff --git a/evaluation/regression/conftest.py b/evaluation/regression/conftest.py index 34971a915a..f784bee1c6 100644 --- a/evaluation/regression/conftest.py +++ b/evaluation/regression/conftest.py @@ -112,7 +112,7 @@ def run_test_case(test_cases_dir, workspace_dir, request): else: os.makedirs(os.path.join(agent_dir, 'workspace')) agents_ref = { - "langchains_agent":"LangchainsAgent", + "monologue_agent":"MonologueAgent", "codeact_agent":"CodeActAgent" } process = subprocess.Popen(["python3", f"{SCRIPT_DIR}/../../opendevin/main.py", "-d", f"{os.path.join(agent_dir, 'workspace')}", "-c", f"{agents_ref[agent]}", "-t", f"{task}", "-m", "gpt-4-0125-preview"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)