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 for windows

Vivian Fangd6de8b532c40
diff --git a/README.md b/README.md
index b81546476..93418d38d 100644
--- a/README.md
+++ b/README.md
@@ -115,6 +115,11 @@ To run MemGPT for as a conversation agent in CLI mode, simply run `memgpt`:
memgpt
```
+If you get `command not found` (Linux/MacOS), or a `CommandNotFoundException` (Windows), the directory where pip installs scripts is not in your PATH. You can either add that directory to your path (`pip show pip | grep Scripts`) or instead just run:
+```sh
+python -m memgpt
+```
+
If you're using Azure OpenAI, set these variables instead:
```sh
diff --git a/memgpt/config.py b/memgpt/config.py
index 13e4e70bf..67c15bb61 100644
--- a/memgpt/config.py
+++ b/memgpt/config.py
@@ -22,7 +22,7 @@ model_choices = [
value="gpt-3.5-turbo",
),
]
-memgpt_dir = os.path.expanduser("~/.memgpt")
+memgpt_dir = os.path.join(os.path.expanduser("~"), ".memgpt")
class Config: