Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
patched a bug where outputs of a regex extraction weren't getting cast back to string, causing an issue when the dict was then passed to json.dumps() (#533)
Charles Packera367ee4072af
diff --git a/memgpt/local_llm/json_parser.py b/memgpt/local_llm/json_parser.pyindex 5e0336cd5..1eab64c48 100644--- a/memgpt/local_llm/json_parser.py+++ b/memgpt/local_llm/json_parser.py@@ -62,8 +62,8 @@ def clean_and_interpret_send_message_json(json_string):return {"function": "send_message","params": {- "inner_thoughts": inner_thoughts_match,- "message": message_match,+ "inner_thoughts": inner_thoughts_match.group(1),+ "message": message_match.group(1),},}else: