fix: fix existing agent listing for CLI (#1146)

This commit is contained in:
Sarah Wooders
2024-03-12 15:12:09 -07:00
committed by GitHub
parent 5b5bad9287
commit 8368942376

View File

@@ -540,7 +540,7 @@ def run(
agents = ms.list_agents(user_id=user.id)
agents = [a.name for a in agents]
if len(agents) > 0 and not any([persona, human, model]):
if len(agents) > 0:
print()
select_agent = questionary.confirm("Would you like to select an existing agent?").ask()
if select_agent is None: