From edcb89cc50669d476340f558771d285e6c258343 Mon Sep 17 00:00:00 2001 From: Sarah Wooders Date: Tue, 27 Aug 2024 16:06:23 -0700 Subject: [PATCH] fix: patch block edit error (#1691) --- memgpt/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memgpt/agent.py b/memgpt/agent.py index b11497a2..0625156c 100644 --- a/memgpt/agent.py +++ b/memgpt/agent.py @@ -1017,7 +1017,7 @@ class Agent(object): printd(f"skipping block update, unexpected value: {block_id=}") continue # TODO: we may want to update which columns we're updating from shared memory e.g. the limit - self.memory.update_block_value(name=block.get("name", ""), value=db_block.value) + self.memory.update_block_value(name=block.get("label", ""), value=db_block.value) # If the memory didn't update, we probably don't want to update the timestamp inside # For example, if we're doing a system prompt swap, this should probably be False