mem0ai / mem0

The Memory layer for your AI apps
https://mem0.ai
Apache License 2.0
21.6k stars 1.97k forks source link

Update storage.py to fix no prev_value error #1697

Open lemon-little opened 1 month ago

lemon-little commented 1 month ago

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Please delete options that are not relevant.

Checklist:

Maintainer Checklist

Dev-Khant commented 3 weeks ago

Hey @lemon-little nice catch here. A better solution would be to remove new_value from history table itself.