fix: fix core memory heartbeat issue (#1929)

This commit is contained in:
Sarah Wooders
2024-10-23 12:22:37 -07:00
committed by GitHub
parent ff4be4576b
commit 701cd794ef
6 changed files with 384 additions and 461 deletions

View File

@@ -12,6 +12,8 @@ CORS(app)
app = Flask(__name__)
CORS(app)
# NOTE: this is out of date for >=0.5.0
MEMGPT_SERVER_URL = "http://127.0.0.1:8283"
MEMGPT_TOKEN = os.getenv("MEMGPT_SERVER_PASS")
assert MEMGPT_TOKEN, f"Missing env variable MEMGPT_SERVER_PASS"