fix: patch block edit error (#1691)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user