aboutsummaryrefslogtreecommitdiff
path: root/cli.py
diff options
context:
space:
mode:
authorGravatar SwiftyOS <craigswift13@gmail.com> 2023-09-15 20:04:24 +0200
committerGravatar SwiftyOS <craigswift13@gmail.com> 2023-09-15 20:04:24 +0200
commit2edb59736ca4a3a0d59b6c6fec549cef16dd8c19 (patch)
tree4ebe9a55b14c5e7fa51492aebfa0dc3b53662fc6 /cli.py
parentAdded checks to the arean enter commands (diff)
downloadAuto-GPT-2edb59736ca4a3a0d59b6c6fec549cef16dd8c19.tar.gz
Auto-GPT-2edb59736ca4a3a0d59b6c6fec549cef16dd8c19.tar.bz2
Auto-GPT-2edb59736ca4a3a0d59b6c6fec549cef16dd8c19.zip
Added checks and templates to cli
Diffstat (limited to 'cli.py')
-rw-r--r--cli.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/cli.py b/cli.py
index 624c907b2..2f6920e12 100644
--- a/cli.py
+++ b/cli.py
@@ -458,8 +458,15 @@ def enter(agent_name, branch):
if parent_repo:
pr = parent_repo.create_pull(
title=f'{agent_name} entering the arena',
- body='**Your Name:** \n\n**What you are working on:** \n\nPlease replace this text with your own introduction and a brief description of your work.',
+ body='''**Introduction:**
+
+**Team Members:**
+
+**What we are working on:**
+
+Please replace this text with your own introduction, the names of your team members, and a brief description of your work.''',
head='arena_submission',
+
base=branch_to_use,
)
click.echo(click.style(f"🚀 {agent_name} has entered the arena! Please edit your PR description at the following URL: {pr.html_url}", fg='green'))
@@ -538,7 +545,13 @@ def submit(agent_name, branch):
if parent_repo:
parent_repo.create_pull(
title=f'{agent_name} submitting to the arena',
- body='',
+ body='''**Introduction:**
+
+**Team Members:**
+
+**Changes made to the agent:**
+
+Please replace this text with your own introduction, the names of your team members, a brief description of your work, and the changes you have made to your agent.''',
head='arena_submission',
base=branch,
)