-
Notifications
You must be signed in to change notification settings - Fork 2
fix(memory): zeph_session_summaries Qdrant collection always empty — session summaries not synced to vector store #1911
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingmemoryzeph-memory crate (SQLite)zeph-memory crate (SQLite)
Description
Problem
The zeph_session_summaries Qdrant collection has 0 points across all sessions, meaning session summaries are never available for cross-session semantic recall.
Observed behavior
zeph_session_summariescollection: 0 points (verified via Qdrant REST API)- SQLite
summariestable: has rows (summarization fires and writes to SQLite) - Cross-session context recall (
inject_cross_session_context) likely returns nothing because Qdrant has no embeddings
Expected behavior
When a session summary is created (LLM-based summarization after threshold):
- Summary text stored in SQLite
summariestable ✓ (works) - Summary embedded and upserted into
zeph_session_summariesQdrant collection ✗ (missing) - On next session,
fetch_cross_session()retrieves semantically relevant past summaries
Root cause hypothesis
The SemanticMemory::save_summary() method either:
- Does not upsert to Qdrant after writing to SQLite, or
- Is never called from the summarization path in
context/assembly.rs
Impact
The agent has no persistent memory of what happened in previous sessions. Every session starts from scratch even though summaries are being generated and stored in SQLite. Cross-session recall is effectively disabled.
Steps to reproduce
- Run a session with summarization threshold configured (e.g. 6 messages)
- Have >6 turns so summarization fires
- Restart session
- Check
zeph_session_summariespoint count — still 0 - Ask about something discussed in the previous session — agent has no recall
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmemoryzeph-memory crate (SQLite)zeph-memory crate (SQLite)