Skip to content

feat: add data export functionality for DARE context portability - #267

Open
farhat-is-coding wants to merge 3 commits into
devfrom
farhat/feat/memory-export
Open

feat: add data export functionality for DARE context portability#267
farhat-is-coding wants to merge 3 commits into
devfrom
farhat/feat/memory-export

Conversation

@farhat-is-coding

Copy link
Copy Markdown
Collaborator

No description provided.

…lure handling

- Add memory/constants.py with MemoryType choices and import guardrails
  (max 200 items, 4000-char content, 10 categories per item)
- Coerce unknown memory types to 'profile' instead of storing arbitrary
  values from other AIs' output
- Tolerate per-item create failures during import and report accurate
  created/failed counts (already-created items can't be rolled back)
- Drop redundant inline temp-file unlink now covered by finally block
A full export still has value (user profile + conversations) when MemU
is down or USE_POSTGRES=False, so proceed with empty memories and an
explicit note in the manifest's excludedContent. Memories-only exports
still fail loudly since they would be worthless.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant