mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 06:24:20 +01:00
agents to agent in docs
This commit is contained in:
4
cli.py
4
cli.py
@@ -391,7 +391,7 @@ def enter(agent_name, branch):
|
|||||||
agent_dir = f'./autogpts/{agent_name}'
|
agent_dir = f'./autogpts/{agent_name}'
|
||||||
if not os.path.exists(agent_dir):
|
if not os.path.exists(agent_dir):
|
||||||
click.echo(click.style(f"❌ The directory for agent '{agent_name}' does not exist in the autogpts directory.", fg='red'))
|
click.echo(click.style(f"❌ The directory for agent '{agent_name}' does not exist in the autogpts directory.", fg='red'))
|
||||||
click.echo(click.style(f"🚀 Run './run agents create {agent_name}' to create the agent.", fg='yellow'))
|
click.echo(click.style(f"🚀 Run './run agent create {agent_name}' to create the agent.", fg='yellow'))
|
||||||
|
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
@@ -497,7 +497,7 @@ def submit(agent_name, branch):
|
|||||||
agent_dir = f'./autogpts/{agent_name}'
|
agent_dir = f'./autogpts/{agent_name}'
|
||||||
if not os.path.exists(agent_dir):
|
if not os.path.exists(agent_dir):
|
||||||
click.echo(click.style(f"❌ The directory for agent '{agent_name}' does not exist in the autogpts directory.", fg='red'))
|
click.echo(click.style(f"❌ The directory for agent '{agent_name}' does not exist in the autogpts directory.", fg='red'))
|
||||||
click.echo(click.style(f"🚀 Run './run agents create {agent_name}' to create the agent. Then you can enter the arena with ./run arena enter", fg='yellow'))
|
click.echo(click.style(f"🚀 Run './run agent create {agent_name}' to create the agent. Then you can enter the arena with ./run arena enter", fg='yellow'))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user