Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#714 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@charan-rathore 已經在處理了。

開始於 2026年10月10日。

  • #766 來自 @charan-rathore —— 未關閉
  • #788 來自 @Chebaleomkar —— 未關閉

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript
領域
ai, backend

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
TypeScript
星號
6.6k
分支
914
平均合併
17 小時 52 分鐘
30 天內合併 PR
155

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CopilotKit/OpenBot 的其他 Issue

查看 CopilotKit/OpenBot 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。