Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

A fact one Bot remembered is reported as remembered to a second Bot, which then never sees it

Đang mở
#714 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@charan-rathore đang làm issue này rồi.

Từ ngày 10/10/2026.

  • #766 của @charan-rathore — đang mở
  • #788 của @Chebaleomkar — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
ai, backend

Hướng nghiên cứu

Start with server/src/memory/store.ts, reading the create path for formedBy: "bot", its unique-index assumptions, and retrieve's formedByAgentId filter. Confirm with maintainers whether bot memories should be scoped per Bot or shared across Bots, then make duplicate reporting and retrieval follow that decision for both Bot A and Bot B.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

remember from a Bot is deduplicated per person, but read back per Bot.

  • server/src/memory/store.ts (the create path for formedBy: "bot") looks for an existing row by (ownerUserId, formedBy = 'bot', importDigest). The unique index has the same shape. It does not include formedByAgentId.
  • retrieve returns Bot-formed rows only where formedByAgentId is the asking Bot.

So if Bot A remembers "I prefer metric units" for a person, and Bot B later forms the same sentence, B gets { duplicate: true } with A's id. B never records it, and B's retrieval never returns it. B is told the fact is remembered but never sees it.

There are two possible directions:

  1. Scope the dedup lookup and the index to formedByAgentId, so each Bot keeps its own copy.
  2. Keep one row per person, and let retrieval include Bot-formed rows from other Bots the person uses.

Which one is intended? I'm happy to send a PR for either.

Ngôn ngữ chính
TypeScript
Star
6.6k
Fork
914
Merge trung bình
19 giờ 22 phút
Pull request đã merge (30 ngày)
140

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CopilotKit/OpenBot

Tất cả issue của CopilotKit/OpenBot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.