From 83689423765bd48495709ca94e0357c19d0f8abf Mon Sep 17 00:00:00 2001 From: Sarah Wooders Date: Tue, 12 Mar 2024 15:12:09 -0700 Subject: [PATCH] fix: fix existing agent listing for CLI (#1146) --- memgpt/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memgpt/cli/cli.py b/memgpt/cli/cli.py index 1097f268..7a34a5b9 100644 --- a/memgpt/cli/cli.py +++ b/memgpt/cli/cli.py @@ -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: