diff --git a/autogpt/main.py b/autogpt/main.py index 7fd32bde..52ca845f 100644 --- a/autogpt/main.py +++ b/autogpt/main.py @@ -1,5 +1,4 @@ """The application entry point. Can be invoked by a CLI or any other front end application.""" - import logging import sys from pathlib import Path diff --git a/mem.sqlite3 b/mem.sqlite3 new file mode 100644 index 00000000..029c030e Binary files /dev/null and b/mem.sqlite3 differ diff --git a/tests/test_agent_manager.py b/tests/test_agent_manager.py index 11da5fd9..e02a6a59 100644 --- a/tests/test_agent_manager.py +++ b/tests/test_agent_manager.py @@ -8,6 +8,9 @@ from tests.utils import requires_api_key @pytest.fixture def agent_manager(): + # Hack, real gross. Singletons are not good times. + if AgentManager in AgentManager._instances: + del AgentManager._instances[AgentManager] return AgentManager() @@ -23,7 +26,7 @@ def prompt(): @pytest.fixture def model(): - return "gpt-4" + return "gpt-3.5-turbo" @requires_api_key("OPENAI_API_KEY")