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.

update config location

Sarah Wooders377bcc24e816
diff --git a/memgpt/config.py b/memgpt/config.py
index 6ab7ea5de..0cff1b491 100644
--- a/memgpt/config.py
+++ b/memgpt/config.py
@@ -25,9 +25,10 @@ model_choices = [
class Config:
- personas_dir = os.path.join("memgpt", "personas", "examples")
- humans_dir = os.path.join("memgpt", "humans", "examples")
- configs_dir = "configs"
+ base_dir = os.path.expanduser("~/.memgpt")
+ personas_dir = os.path.join("memgpt", "personas", "examples") # TODO: move to .memgpt
+ humans_dir = os.path.join("memgpt", "humans", "examples") # TODO: move to .memgpt
+ configs_dir = os.path.join(base_dir, "configs")
def __init__(self):
self.load_type = None