LightMemory.online_update is empty, making update="online" ineffective
In LightMemory class, the online_update method currently does nothing:
def online_update(self, memory_list: List):
return None
However, offline_update contains the actual logic for persisting memories (embedding + insertion). When config.update == "online", add_memory calls online_update and no memory is saved
Thanks for raising this! You're right, online_update is currently a placeholder. The update="online" mode is an interface we've reserved for future development, but hasn't been implemented yet due to resource constraints.
For now, please use update="offline", which gives you full access to all of LightMemory's features including embedding and memory persistence. We'll update the documentation to make this clearer and avoid confusion.
hi, do you have any further question?