Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: patched another test that used dummy user_id's to instead use the default user_id
cpacker5799d4ab3651
diff --git a/tests/test_agent_function_update.py b/tests/test_agent_function_update.pyindex e42d7fc55..d590cbb91 100644--- a/tests/test_agent_function_update.py+++ b/tests/test_agent_function_update.py@@ -2,7 +2,10 @@ from collections import UserDictimport jsonimport osimport inspect+import uuid+from memgpt import MemGPT+from memgpt.config import MemGPTConfigfrom memgpt import constantsimport memgpt.functions.function_sets.base as base_functionsfrom memgpt.functions.functions import USER_FUNCTIONS_DIR@@ -39,7 +42,10 @@ def agent():})- return client.server._get_or_load_agent(user_id="NULL", agent_id=agent_state.id)+ config = MemGPTConfig.load()+ user_id = uuid.UUID(config.anon_clientid)++ return client.server._get_or_load_agent(user_id=user_id, agent_id=agent_state.id)@pytest.fixture(scope="module")