Skip to content

feat(user-memory): add persistence for user memory across sessions#385

Merged
haiphucnguyen merged 2 commits into
mainfrom
feature/support-user-memory
May 16, 2026
Merged

feat(user-memory): add persistence for user memory across sessions#385
haiphucnguyen merged 2 commits into
mainfrom
feature/support-user-memory

Conversation

@haiphucnguyen
Copy link
Copy Markdown
Collaborator

  • add UserMemory domain and UserMemoryRepository for cross‑session storage
  • modify SessionMemory memorySummary to use SessionConversationSummary
  • extend ChatSessionService to load and save user memory snapshots
  • update AppContext with new helpers for rendering user memory blocks
  • raise default summarization timeout to 300 seconds for longer conversations
  • adjust TokenAwareSummarizingMemory and ChatClientExtensions to work with new summary types

- add UserMemory domain and UserMemoryRepository for cross‑session storage
- modify SessionMemory memorySummary to use SessionConversationSummary
- extend ChatSessionService to load and save user memory snapshots
- update AppContext with new helpers for rendering user memory blocks
- raise default summarization timeout to 300 seconds for longer conversations
- adjust TokenAwareSummarizingMemory and ChatClientExtensions to work with new summary types

BREAKING CHANGE: SessionMemory.memorySummary property type changed from ConversationSummary to SessionConversationSummary, requiring updated serializers and any consumer code that accesses this field.
@haiphucnguyen haiphucnguyen merged commit 56bbfd5 into main May 16, 2026
14 checks passed
@haiphucnguyen haiphucnguyen deleted the feature/support-user-memory branch May 16, 2026 00:01
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