Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
chore: update encryption key log line [LET-5474] (#5393)
jnjpng7cac9a1a3ef4
diff --git a/letta/helpers/crypto_utils.py b/letta/helpers/crypto_utils.pyindex ce8abc725..5a96dbab6 100644--- a/letta/helpers/crypto_utils.py+++ b/letta/helpers/crypto_utils.py@@ -47,7 +47,9 @@ class CryptoUtils:master_key = settings.encryption_keyif not master_key:- raise ValueError("No encryption key configured. Set LETTA_ENCRYPTION_KEY environment variable.")+ raise ValueError(+ "No encryption key configured. Please set the LETTA_ENCRYPTION_KEY environment variable (not fully supported yet for Letta v0.12.1 and below)."+ )# Generate random salt and IVsalt = os.urandom(cls.SALT_SIZE)@@ -91,7 +93,9 @@ class CryptoUtils:master_key = settings.encryption_keyif not master_key:- raise ValueError("No encryption key configured. Set LETTA_ENCRYPTION_KEY environment variable.")+ raise ValueError(+ "No encryption key configured. Please set the LETTA_ENCRYPTION_KEY environment variable (not fully supported yet for Letta v0.12.1 and below)."+ )try:# Decode from base64