Skip to content

Commit 511afa1

Browse files
authored
fix old references to langchains (OpenHands#513)
1 parent d97602d commit 511afa1

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

dev_config/python/mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ warn_redundant_casts = True
88
no_implicit_optional = True
99
strict_optional = True
1010

11-
exclude = agenthub/langchains_agent/regression
11+
exclude = agenthub/monologue_agent/regression

dev_config/python/ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
exclude = [
2-
"agenthub/langchains_agent/regression/",
2+
"agenthub/monologue_agent/regression/",
33
]

evaluation/regression/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cases/
2929
├── hello-world/
3030
│ ├── task.txt
3131
│ ├── outputs/
32-
│ │ ├── langchains_agent/
32+
│ │ ├── monologue_agent/
3333
│ │ │ └── workspace/
3434
│ │ │ ├── hello_world.sh
3535
│ │ └── codeact_agent/
@@ -39,7 +39,7 @@ cases/
3939
├── create_web_app/
4040
│ ├── task.txt
4141
│ ├── outputs/
42-
│ │ ├── langchains_agent/
42+
│ │ ├── monologue_agent/
4343
│ │ │ └── workspace/
4444
│ │ │ ├── app.py
4545
│ │ │ ├── requirements.txt

evaluation/regression/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _run_test_case(agent, case):
112112
else:
113113
os.makedirs(os.path.join(agent_dir, 'workspace'))
114114
agents_ref = {
115-
"langchains_agent":"LangchainsAgent",
115+
"monologue_agent":"MonologueAgent",
116116
"codeact_agent":"CodeActAgent"
117117
}
118118
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)

0 commit comments

Comments
 (0)