diff options
author | SwiftyOS <craigswift13@gmail.com> | 2023-09-15 20:13:21 +0200 |
---|---|---|
committer | SwiftyOS <craigswift13@gmail.com> | 2023-09-15 20:13:21 +0200 |
commit | 169f7210c1d4206f44d7329f82fef4b115f924a3 (patch) | |
tree | d79280d7b7fed60989c68efc33da80cedd076b01 /cli.py | |
parent | change to check for only staged changes (diff) | |
download | Auto-GPT-169f7210c1d4206f44d7329f82fef4b115f924a3.tar.gz Auto-GPT-169f7210c1d4206f44d7329f82fef4b115f924a3.tar.bz2 Auto-GPT-169f7210c1d4206f44d7329f82fef4b115f924a3.zip |
fix arena path name
Diffstat (limited to 'cli.py')
-rw-r--r-- | cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -447,7 +447,7 @@ def enter(agent_name, branch): json.dump(data, json_file, indent=4) # Create a commit with the specified message - subprocess.check_call(['git', 'add', f'agent/{agent_name}.json']) + subprocess.check_call(['git', 'add', f'arena/{agent_name}.json']) subprocess.check_call(['git', 'commit', '-m', f'{agent_name} entering the arena']) # Push the commit @@ -527,7 +527,7 @@ def submit(agent_name, branch): subprocess.check_call(['git', 'checkout', 'arena_submission']) # Update the agent_name.json file in the arena folder with the new hash and timestamp - json_file_path = f'agent/{agent_name}.json' + json_file_path = f'arena/{agent_name}.json' with open(json_file_path, 'r') as json_file: data = json.load(json_file) |