Superseded memories are kept forever: let them expire or be cleaned up
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Since #436 (#152), a memory replaced by a newer one (for example "lives in Pune" after "moved to Bengaluru") is kept as superseded history instead of being deleted. It's left out of prompts and only listed when asked for. Nothing ever removes it, though, so they pile up, and a user who wants something gone has to find the old version too.
Idea:
- a config option such as
memory.keep_superseded_days(default 180, 0 = forever), with adescriptionso Settings shows it; - the nightly memory job deletes superseded memories older than that, through the same cascading delete #436 added (vectors, links, summaries, insights' evidence);
- deleting a current memory offers to delete its earlier versions too.
Where: sentient/memory/facts.py (states and cascading delete from #436), the nightly job in sentient/memory/dreaming.py, and config/schema.py.
Done when: a superseded memory older than the setting is gone after the nightly run, along with everything derived from it, and current memories are untouched. Add tests for both.
- Ngôn ngữ chính
- Python
- Star
- 710
- Fork
- 125
- Merge trung bình
- 5 giờ 15 phút
- Pull request đã merge (30 ngày)
- 173
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của existence-master/Sentient
-
Telegram/Discord: tapping "Local only" in the /model list should ask too, and "/model Local only no" should cancelCó thể đã có người làm @bernalalexis-try đã nhận 1 ngày trước. Đang mởarea: channels enhancement good first issue priority: P2 size: S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
existence-master/Sentient#457 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: desktop bug good first issue priority: P2 size: S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
existence-master/Sentient#454 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: desktop bug priority: P2 size: S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
existence-master/Sentient#440 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: desktop bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
existence-master/Sentient#426 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: memory bug flaky
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
existence-master/Sentient#422 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của existence-master/Sentient
Issue tương tự
-
[Bug] Unit tests reach real Bedrock call paths without patching the modelCó thể đã có người làm @proton0210 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
aws-samples/sample-aws-genai-db-modernizer#1318 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pyarrow-25.0.1-cp310-cp310-manylinux_2_28_x86_64.whl: 1 vulnerabilities (highest severity is: 5.3)Đang mởMend: dependency security vulnerability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
capitalone/locopy#394 ·
-
[Bug] Unhandled ValueError terminates watchdog thread when GISRC value contains multiple colonsĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextĐang mởbug javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ietf-tools/datatracker#11922 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày