Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
Avoid DB initialization for non-server cli commands
Tevin Zhang16068babcd2e
diff --git a/letta/cli/cli.py b/letta/cli/cli.pyindex 4441190b2..a969de017 100644--- a/letta/cli/cli.py+++ b/letta/cli/cli.py@@ -15,7 +15,6 @@ from letta.local_llm.constants import ASSISTANT_MESSAGE_CLI_SYMBOLfrom letta.log import get_loggerfrom letta.schemas.enums import OptionStatefrom letta.schemas.memory import ChatMemory, Memory-from letta.server.server import logger as server_logger# from letta.interface import CLIInterface as interface # for printing to terminalfrom letta.streaming_interface import StreamingRefreshCLIInterface as interface # for printing to terminal@@ -119,6 +118,8 @@ def run(utils.DEBUG = debug# TODO: add logging command line options for runtime log level+ from letta.server.server import logger as server_logger+if debug:logger.setLevel(logging.DEBUG)server_logger.setLevel(logging.DEBUG)