Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

unbreak `./run agent create`

Reinier van der Leerc562b3b6a3f6
diff --git a/cli.py b/cli.py
index f7a89aca9e..da25dd941d 100644
--- a/cli.py
+++ b/cli.py
@@ -99,12 +99,7 @@ def create(agent_name):
new_agent_dir = f"./autogpts/{agent_name}"
new_agent_name = f"{agent_name.lower()}.json"
- existing_arena_files = [name.lower() for name in os.listdir("./arena/")]
-
- if (
- not os.path.exists(new_agent_dir)
- and not new_agent_name in existing_arena_files
- ):
+ if not os.path.exists(new_agent_dir):
shutil.copytree("./autogpts/forge", new_agent_dir)
click.echo(
click.style(