mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix old references to langchains (#513)
This commit is contained in:
parent
d97602d071
commit
511afa12fe
@ -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
|
||||
@ -1,3 +1,3 @@
|
||||
exclude = [
|
||||
"agenthub/langchains_agent/regression/",
|
||||
"agenthub/monologue_agent/regression/",
|
||||
]
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user