Skip to content

Commit

Permalink
fix old references to langchains (All-Hands-AI#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Apr 1, 2024
1 parent d97602d commit 511afa1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev_config/python/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ warn_redundant_casts = True
no_implicit_optional = True
strict_optional = True

exclude = agenthub/langchains_agent/regression
exclude = agenthub/monologue_agent/regression
2 changes: 1 addition & 1 deletion dev_config/python/ruff.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
exclude = [
"agenthub/langchains_agent/regression/",
"agenthub/monologue_agent/regression/",
]
4 changes: 2 additions & 2 deletions evaluation/regression/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cases/
β”œβ”€β”€ hello-world/
β”‚ β”œβ”€β”€ task.txt
β”‚ β”œβ”€β”€ outputs/
β”‚ β”‚ β”œβ”€β”€ langchains_agent/
β”‚ β”‚ β”œβ”€β”€ monologue_agent/
β”‚ β”‚ β”‚ └── workspace/
β”‚ β”‚ β”‚ β”œβ”€β”€ hello_world.sh
β”‚ β”‚ └── codeact_agent/
Expand All @@ -39,7 +39,7 @@ cases/
β”œβ”€β”€ create_web_app/
β”‚ β”œβ”€β”€ task.txt
β”‚ β”œβ”€β”€ outputs/
β”‚ β”‚ β”œβ”€β”€ langchains_agent/
β”‚ β”‚ β”œβ”€β”€ monologue_agent/
β”‚ β”‚ β”‚ └── workspace/
β”‚ β”‚ β”‚ β”œβ”€β”€ app.py
β”‚ β”‚ β”‚ β”œβ”€β”€ requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion evaluation/regression/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _run_test_case(agent, case):
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)
Expand Down

0 comments on commit 511afa1

Please sign in to comment.