Skip to content

Commit

Permalink
fix original_autogpt path in classic/cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Sep 20, 2024
1 parent 4e33399 commit dfcfd00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions classic/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def start(agent_name: str, no_setup: bool):
agent_dir = os.path.join(
script_dir,
f"agents/{agent_name}"
if agent_name not in ["autogpt", "forge"]
if agent_name not in ["original_autogpt", "forge"]
else agent_name,
)
run_command = os.path.join(agent_dir, "run")
Expand Down Expand Up @@ -217,8 +217,8 @@ def list():
for d in os.listdir(agents_dir)
if os.path.isdir(os.path.join(agents_dir, d))
]
if os.path.isdir("./autogpt"):
agents_list.append("autogpt")
if os.path.isdir("./original_autogpt"):
agents_list.append("original_autogpt")
if agents_list:
click.echo(click.style("Available agents: 🤖", fg="green"))
for agent in agents_list:
Expand Down Expand Up @@ -253,7 +253,7 @@ def start(agent_name, subprocess_args):
agent_dir = os.path.join(
script_dir,
f"agents/{agent_name}"
if agent_name not in ["autogpt", "forge"]
if agent_name not in ["original_autogpt", "forge"]
else agent_name,
)
benchmark_script = os.path.join(agent_dir, "run_benchmark")
Expand Down

0 comments on commit dfcfd00

Please sign in to comment.