Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
FIx #261 (#300)
danx0r2f56e0eaf591
diff --git a/memgpt/local_llm/utils.py b/memgpt/local_llm/utils.pyindex 42a0ce277..a4436ea45 100644--- a/memgpt/local_llm/utils.py+++ b/memgpt/local_llm/utils.py@@ -6,3 +6,10 @@ class DotDict(dict):def __setattr__(self, key, value):self[key] = value++ # following methods necessary for pickling+ def __getstate__(self):+ return vars(self)++ def __setstate__(self, state):+ vars(self).update(state)