Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: patch server test (wasn't run on community PRs) (#873)
Charles Packere67e7d777953
diff --git a/memgpt/data_types.py b/memgpt/data_types.pyindex 54dbaf3ad..c45192b14 100644--- a/memgpt/data_types.py+++ b/memgpt/data_types.py@@ -185,7 +185,7 @@ class Message(Record):if "tool_call_id" in openai_message_dict:assert openai_message_dict["tool_call_id"] is None, openai_message_dict- if "tool_calls" in openai_message_dict:+ if "tool_calls" in openai_message_dict and openai_message_dict["tool_calls"] is not None:assert openai_message_dict["role"] == "assistant", openai_message_dicttool_calls = [