Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: fix agent loop (#8401)

Sarah Wooders6fddcc0c57c7
diff --git a/letta/helpers/crypto_utils.py b/letta/helpers/crypto_utils.py
index a38f60b51..7d7d8660c 100644
--- a/letta/helpers/crypto_utils.py
+++ b/letta/helpers/crypto_utils.py
@@ -94,7 +94,7 @@ class CryptoUtils:
PBKDF2 with 100k iterations typically takes 100-500ms per operation.
"""
- loop = asyncio.get_event_loop()
+ loop = asyncio.get_running_loop()
return await loop.run_in_executor(_crypto_executor, cls._derive_key, master_key, salt)
@classmethod