Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
patch #428 (#433)
Charles Packer624650c13dc9
diff --git a/memgpt/memory.py b/memgpt/memory.pyindex 7860c39c3..9411840bf 100644--- a/memgpt/memory.py+++ b/memgpt/memory.py@@ -142,6 +142,7 @@ def summarize_messages(response = create(model=model,messages=message_sequence,+ context_window=context_window,)printd(f"summarize_messages gpt reply: {response.choices[0]}")