Open aBaldoqui opened 2 months ago
I've identified the issue. When I run memgpt list humans
, it uses the SQLite database located at sqlite:////home/d0/.memgpt/sqlite.db
, which contains the saved humans and personas. However, when I run sudo memgpt list humans
, it uses a different SQLite database located at sqlite:////root/.memgpt/sqlite.db
. As a result, it does not find the humans and personas that were created previously.
Considering the current situation where memgpt seems to utilize different database locations based on user permissions (/home/d0/.memgpt/sqlite.db for regular user and /root/.memgpt/sqlite.db for sudo), would it be feasible to explore the option of consolidating these into a single database location? This could help streamline the user experience and prevent potential discrepancies in accessing saved data.
@sarahwooders this seems like a bug?
Describe the bug When running the command
sudo memgpt run --persona "personatest" --human "humantest"
, the system reports that it cannot find the human in the database and prompts to create it. However, when executingmemgpt list humans
andmemgpt list personas
, both the human and persona are listed as existing.Please describe your setup
git clone