From bac898f9934fb1766869def0246808d9b7ade255 Mon Sep 17 00:00:00 2001 From: Gershon Bialer Date: Fri, 14 Apr 2023 20:59:58 -0700 Subject: [PATCH] Fix list_agents to not call it self. --- autogpt/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt/commands.py b/autogpt/commands.py index 352b3340..7301ff68 100644 --- a/autogpt/commands.py +++ b/autogpt/commands.py @@ -265,7 +265,7 @@ def message_agent(key, message): def list_agents(): """List all agents""" - return list_agents() + return agents.list_agents() def delete_agent(key):