-
Notifications
You must be signed in to change notification settings - Fork 234
fix: date parse error and fix memreader #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tangg555
pushed a commit
to tangg555/MemOS
that referenced
this pull request
Jul 29, 2025
* fix n4j cypher query * feat: add llm extra body * feat: update memory extraction prompt and result parser * fix: evaluation locomo search * ci: fix format and update test * feat: update result json parser * feat: recursively cluster nodes to max_cluster_size * fix: fix template * feat: keep default min-group-size 3 * feat: keep default min-group-size 3 * feat: update doc mem reader * test: fix test * fix: date parse error when python<3.11 * fix: update dependencies * fix: TextualMemoryItem pydantic error * fix: TextualMemoryItem pydantic error * fix: TextualMemoryItem pydantic error * fix: TextualMemoryItem pydantic error * fix: prompt example * fix: robuster memory parser --------- Co-authored-by: chunyu li <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
File "/Users/wuhao/PycharmProjects/MemOS/src/memos/memories/textual/tree_text_memory/organize/conflict.py", line 136, in _hard_update
time_a = datetime.fromisoformat(memory_a.metadata.updated_at)
ValueError: Invalid isoformat string: '2025-07-21T20:30:30.533432000+00:00'
python<3.11时会报错,替换为
from dateutil import parser
time_a = parser.isoparse(memory_a.metadata.updated_at)
time_b = parser.isoparse(memory_b.metadata.updated_at)
parser.isoparse() 支持所有 ISO 8601 格式,兼容性非常好。
Reviewer: @(reviewer)
Checklist: