diff --git a/memgpt/local_llm/json_parser.py b/memgpt/local_llm/json_parser.py index 5e0336cd..1eab64c4 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: