aboutsummaryrefslogtreecommitdiff
path: root/cli.py
diff options
context:
space:
mode:
authorGravatar SwiftyOS <craigswift13@gmail.com> 2023-09-16 19:06:18 +0200
committerGravatar SwiftyOS <craigswift13@gmail.com> 2023-09-16 19:06:18 +0200
commit5bfefd6a123ffcd0c1220a532473aa19c36be15c (patch)
tree7b874496d3d82d069faae53c83d992ab5a626c5b /cli.py
parentAdded an update function, instructions on how to make another submission and ... (diff)
downloadAuto-GPT-5bfefd6a123ffcd0c1220a532473aa19c36be15c.tar.gz
Auto-GPT-5bfefd6a123ffcd0c1220a532473aa19c36be15c.tar.bz2
Auto-GPT-5bfefd6a123ffcd0c1220a532473aa19c36be15c.zip
fixed branch names
Diffstat (limited to 'cli.py')
-rw-r--r--cli.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli.py b/cli.py
index 934d80a96..b840a5179 100644
--- a/cli.py
+++ b/cli.py
@@ -659,8 +659,7 @@ def enter(agent_name, branch):
arena_submission_branch = f"arena_submission_{agent_name}"
# Create a new branch called arena_submission_{agent_name}
- # subprocess.check_call(['git', 'checkout', '-b', arena_submission_branch])
- subprocess.check_call(["git", "checkout", arena_submission_branch])
+ subprocess.check_call(['git', 'checkout', '-b', arena_submission_branch])
# Create a dictionary with the necessary fields
data = {
"github_repo_url": github_repo_url,
@@ -731,7 +730,7 @@ Hey there amazing builders! We're thrilled to have you join this exciting journe
- [ ] We confirm that our project will be open-source and adhere to the MIT License.
- [ ] Our lablab.ai registration email matches our OpenAI account to claim the bonus credits (if applicable).
""",
- head=f"arena_submission_{agent_name}",
+ head=f'{repo.owner.login}:{arena_submission_branch}',
base=branch_to_use,
)
click.echo(