enable static file mounting, the website works fine (and API routes via the website work fine), but the RESTClient unit tests start failing with "Method Not Allowed", indicating that the request is getting hijacked by the static files mount
disable static file mounting (can even try just commenting it out), and the RESTClient unit tests pass again
To check if the website is working: memgpt server then localhost:8283 should spawn the SPA
To check if the RESTClient unit tests are working, run pytest -s -vvv tests/test_client.py::test_agent
tldr of bug is:
To check if the website is working:
memgpt server
thenlocalhost:8283
should spawn the SPATo check if the RESTClient unit tests are working, run
pytest -s -vvv tests/test_client.py::test_agent