mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix original_autogpt path in classic/cli.py
This commit is contained in:
@@ -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")
|
||||
@@ -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:
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user