π OpenHands: AI-Driven Development
fix old references to langchains (#513)
Robert Brennan511afa12fe8a
diff --git a/dev_config/python/mypy.ini b/dev_config/python/mypy.iniindex cdbe39699a..a5fbc5305c 100644--- a/dev_config/python/mypy.ini+++ b/dev_config/python/mypy.ini@@ -8,4 +8,4 @@ warn_redundant_casts = Trueno_implicit_optional = Truestrict_optional = True-exclude = agenthub/langchains_agent/regression\ No newline at end of file+exclude = agenthub/monologue_agent/regression\ No newline at end of filediff --git a/dev_config/python/ruff.toml b/dev_config/python/ruff.tomlindex 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 filediff --git a/evaluation/regression/README.md b/evaluation/regression/README.mdindex 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.txtdiff --git a/evaluation/regression/conftest.py b/evaluation/regression/conftest.pyindex 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)