mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 06:24:20 +01:00
fixed directory name
This commit is contained in:
2
cli.py
2
cli.py
@@ -440,7 +440,7 @@ def enter(agent_name, branch):
|
|||||||
data["branch_to_benchmark"] = branch
|
data["branch_to_benchmark"] = branch
|
||||||
|
|
||||||
# Create agent directory if it does not exist
|
# Create agent directory if it does not exist
|
||||||
subprocess.check_call(['mkdir', '-p', 'agent'])
|
subprocess.check_call(['mkdir', '-p', 'arena'])
|
||||||
|
|
||||||
# Create a JSON file with the data
|
# Create a JSON file with the data
|
||||||
with open(f'arena/{agent_name}.json', 'w') as json_file:
|
with open(f'arena/{agent_name}.json', 'w') as json_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user